summaryrefslogtreecommitdiffstats
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/handlers/main.yml b/handlers/main.yml
index 37d0e52..ecf7353 100644
--- a/handlers/main.yml
+++ b/handlers/main.yml
@@ -1,4 +1,6 @@
---
- name: restart ntp
- service: "name={{ ntp_daemon }} state=restarted"
+ service:
+ name: "{{ ntp_daemon }}"
+ state: restarted
when: ntp_enabled