summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks')
-rw-r--r--roles/common/tasks/ntp.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/roles/common/tasks/ntp.yml b/roles/common/tasks/ntp.yml
index 94d7696..f9a01c8 100644
--- a/roles/common/tasks/ntp.yml
+++ b/roles/common/tasks/ntp.yml
@@ -6,12 +6,10 @@
dest=/etc/ntp.conf
owner=root group=root
mode=0644
- register: r
notify:
- Restart ntp
+- meta: flush_handlers
+
- name: Start ntp
service: name=ntp state=started
- when: not r.changed
-
-- meta: flush_handlers