Fix chrony restart error

This commit is contained in:
Ryan Cavicchioni 2019-10-05 16:40:45 -05:00
parent db3ccb5769
commit bdb914b03b
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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: