diff --git a/roles/chrony/handlers/main.yaml b/roles/chrony/handlers/main.yaml index 72a71a4..1df5715 100644 --- a/roles/chrony/handlers/main.yaml +++ b/roles/chrony/handlers/main.yaml @@ -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: diff --git a/roles/chrony/tasks/main.yaml b/roles/chrony/tasks/main.yaml index eb43706..8cc94d2 100644 --- a/roles/chrony/tasks/main.yaml +++ b/roles/chrony/tasks/main.yaml @@ -21,7 +21,7 @@ src: chrony.conf.j2 dest: /etc/chrony/chrony.conf notify: - - reload chrony + - restart chrony - name: start chrony service: