summaryrefslogtreecommitdiffstats
path: root/handlers/main.yml
diff options
context:
space:
mode:
authorJeff Geerling <geerlingguy@mac.com>2017-05-09 08:13:31 -0500
committerGitHub <noreply@github.com>2017-05-09 08:13:31 -0500
commitfbd7badf560bb0a18736acaa3ec6416863c0a615 (patch)
tree60bb2a5b4185a74aaecbfe929207f86a5facfffc /handlers/main.yml
parentd7eba652db7cba3638400070dea90992ec92fdeb (diff)
parent8d6b43ee781b412c6e28b49dfcaa220f2d041743 (diff)
downloadntp-fbd7badf560bb0a18736acaa3ec6416863c0a615.tar.gz
ntp-fbd7badf560bb0a18736acaa3ec6416863c0a615.tar.bz2
ntp-fbd7badf560bb0a18736acaa3ec6416863c0a615.tar.xz
ntp-fbd7badf560bb0a18736acaa3ec6416863c0a615.zip
Merge pull request #31 from opsta/syntax
Improve syntax consistency
Diffstat (limited to 'handlers/main.yml')
-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