Fix chrony restart error
This commit is contained in:
parent
db3ccb5769
commit
bdb914b03b
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: reload chrony
|
- name: restart chrony
|
||||||
service:
|
service:
|
||||||
name: "{{ chrony_service_name }}"
|
name: "{{ chrony_service_name }}"
|
||||||
state: reloaded
|
state: restarted
|
||||||
when: chrony_service_enabled
|
when: chrony_service_enabled
|
||||||
|
|
||||||
# vim:ft=yaml.ansible:
|
# vim:ft=yaml.ansible:
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
src: chrony.conf.j2
|
src: chrony.conf.j2
|
||||||
dest: /etc/chrony/chrony.conf
|
dest: /etc/chrony/chrony.conf
|
||||||
notify:
|
notify:
|
||||||
- reload chrony
|
- restart chrony
|
||||||
|
|
||||||
- name: start chrony
|
- name: start chrony
|
||||||
service:
|
service:
|
||||||
|
Loading…
Reference in New Issue
Block a user