small reformat
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Ensure chrony is installed
|
- name: Ensure chrony is installed
|
||||||
apt:
|
apt:
|
||||||
name: chrony
|
name: chrony
|
||||||
@@ -20,7 +19,7 @@
|
|||||||
file:
|
file:
|
||||||
path: /etc/chrony/sources.d
|
path: /etc/chrony/sources.d
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
|
|
||||||
- name: Deploy atomic source
|
- name: Deploy atomic source
|
||||||
copy:
|
copy:
|
||||||
@@ -28,7 +27,7 @@
|
|||||||
dest: /etc/chrony/sources.d/atomic.sources
|
dest: /etc/chrony/sources.d/atomic.sources
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: "0644"
|
||||||
|
|
||||||
- name: Deploy navy source
|
- name: Deploy navy source
|
||||||
copy:
|
copy:
|
||||||
@@ -36,7 +35,7 @@
|
|||||||
dest: /etc/chrony/sources.d/navy.sources
|
dest: /etc/chrony/sources.d/navy.sources
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: "0644"
|
||||||
|
|
||||||
- name: Deploy fallback pool
|
- name: Deploy fallback pool
|
||||||
copy:
|
copy:
|
||||||
@@ -44,7 +43,8 @@
|
|||||||
dest: /etc/chrony/sources.d/fallback.sources
|
dest: /etc/chrony/sources.d/fallback.sources
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: "0644"
|
||||||
|
|
||||||
- name: Reload NTP sources
|
- name: Reload NTP sources
|
||||||
command: chronyc reload sources
|
command: chronyc reload sources
|
||||||
register: reload_output
|
register: reload_output
|
||||||
|
|||||||
Reference in New Issue
Block a user