diff --git a/playbooks/configure-chrony.yml b/playbooks/configure-chrony.yml index 4ddfb79..3f3686b 100644 --- a/playbooks/configure-chrony.yml +++ b/playbooks/configure-chrony.yml @@ -2,7 +2,6 @@ hosts: all become: true tasks: - - name: Ensure chrony is installed apt: name: chrony @@ -20,7 +19,7 @@ file: path: /etc/chrony/sources.d state: directory - mode: '0755' + mode: "0755" - name: Deploy atomic source copy: @@ -28,7 +27,7 @@ dest: /etc/chrony/sources.d/atomic.sources owner: root group: root - mode: '0644' + mode: "0644" - name: Deploy navy source copy: @@ -36,7 +35,7 @@ dest: /etc/chrony/sources.d/navy.sources owner: root group: root - mode: '0644' + mode: "0644" - name: Deploy fallback pool copy: @@ -44,7 +43,8 @@ dest: /etc/chrony/sources.d/fallback.sources owner: root group: root - mode: '0644' + mode: "0644" + - name: Reload NTP sources command: chronyc reload sources register: reload_output