From 8d6b43ee781b412c6e28b49dfcaa220f2d041743 Mon Sep 17 00:00:00 2001 From: Jirayut Nimsaeng Date: Tue, 9 May 2017 14:24:54 +0700 Subject: Improve syntax consistency --- handlers/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'handlers/main.yml') 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 -- cgit v1.2.3