refactor ♻️: Refactoring the main.yml files to include NTP server configuration and backup of original ntp.conf.

Updated the `defaults/main.yml`, `handlers/main.yml`, and `tasks/main.yml` files to add NTP server configuration and a backup of the original `ntp.conf` file. This ensures that the system uses AD DCs as time sources and maintains a backup for future reference.
This commit is contained in:
2025-10-08 22:03:21 +02:00
parent fd4da57a3c
commit c0e2f38fdc
3 changed files with 35 additions and 0 deletions

View File

@@ -8,3 +8,5 @@ dns_servers:
- 192.168.1.11
dns_search: example.com
nm_connection_name: "Wired connection 1" # Change this based on your setup
ntp_servers:
- "{{ ad_dc }}" # Your AD DC as time source