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

@@ -9,3 +9,8 @@
service:
name: systemd-resolved
state: restarted
- name: Restart ntp
service:
name: ntp
state: restarted