diff --git a/ansible/playbooks/handlers/main.yml b/ansible/playbooks/handlers/main.yml index 7d297d3..1193165 100644 --- a/ansible/playbooks/handlers/main.yml +++ b/ansible/playbooks/handlers/main.yml @@ -17,7 +17,7 @@ - name: regenerate_auditd_rules command: /sbin/augenrules -- name: reload_chrony +- name: reload_chrony systemd: name: "{{ chrony_service_name }}" state: restarted diff --git a/ansible/playbooks/init-rocky-chrony.yml b/ansible/playbooks/init-rocky-chrony.yml index c79c54f..c2870c8 100644 --- a/ansible/playbooks/init-rocky-chrony.yml +++ b/ansible/playbooks/init-rocky-chrony.yml @@ -2,7 +2,7 @@ # Sets Up Chrony Server/Client # Created: @derekmpage # Kudos: @danielkubat @Darkbat91 -- name: Rocky Chrony Runbook +- name: Rocky Chrony Runbook hosts: all become: true diff --git a/ansible/playbooks/vars/chrony.yml b/ansible/playbooks/vars/chrony.yml index b80983d..c3d6e77 100644 --- a/ansible/playbooks/vars/chrony.yml +++ b/ansible/playbooks/vars/chrony.yml @@ -25,9 +25,9 @@ chrony_service_state: started chrony_service_enabled: yes # default internet timeservers to use -chrony_timeservers: [] - - 0.pool.ntp.org - - 1.pool.ntp.org +chrony_timeservers: + - 0.pool.ntp.org + - 1.pool.ntp.org - 2.pool.ntp.org # is chrony ntp server - allows client connections