summaryrefslogtreecommitdiffstats
path: root/handlers
diff options
context:
space:
mode:
authorJeff Geerling <geerlingguy@mac.com>2016-03-03 22:59:01 -0600
committerJeff Geerling <geerlingguy@mac.com>2016-03-03 22:59:01 -0600
commit1420529abcdda64e1f63df142d3b99e71abf43ed (patch)
tree1d6373decb6f004f1ed005cd94ac99b306962076 /handlers
parent304edfae5385ae8bccc5a22953960aac009dbfa9 (diff)
downloadntp-1420529abcdda64e1f63df142d3b99e71abf43ed.tar.gz
ntp-1420529abcdda64e1f63df142d3b99e71abf43ed.tar.bz2
ntp-1420529abcdda64e1f63df142d3b99e71abf43ed.tar.xz
ntp-1420529abcdda64e1f63df142d3b99e71abf43ed.zip
Fix idempotence from NTP config management.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/handlers/main.yml b/handlers/main.yml
index eb57480..37d0e52 100644
--- a/handlers/main.yml
+++ b/handlers/main.yml
@@ -1,3 +1,4 @@
---
- name: restart ntp
service: "name={{ ntp_daemon }} state=restarted"
+ when: ntp_enabled