summaryrefslogtreecommitdiffstats
path: root/handlers
diff options
context:
space:
mode:
authorJirayut Nimsaeng <wingth@gmail.com>2017-05-09 14:24:54 +0700
committerJirayut Nimsaeng <wingth@gmail.com>2017-05-09 14:24:54 +0700
commit8d6b43ee781b412c6e28b49dfcaa220f2d041743 (patch)
tree60bb2a5b4185a74aaecbfe929207f86a5facfffc /handlers
parentd7eba652db7cba3638400070dea90992ec92fdeb (diff)
downloadntp-8d6b43ee781b412c6e28b49dfcaa220f2d041743.tar.gz
ntp-8d6b43ee781b412c6e28b49dfcaa220f2d041743.tar.bz2
ntp-8d6b43ee781b412c6e28b49dfcaa220f2d041743.tar.xz
ntp-8d6b43ee781b412c6e28b49dfcaa220f2d041743.zip
Improve syntax consistency
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