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