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.
13 lines
336 B
YAML
13 lines
336 B
YAML
ad_domain: example.com
|
|
ad_realm: EXAMPLE.COM
|
|
ad_dc: dc1.example.com
|
|
ad_admin_user: administrator
|
|
ad_admin_password: YourPassword
|
|
dns_servers:
|
|
- 192.168.1.10
|
|
- 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
|