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 --- tasks/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tasks') diff --git a/tasks/main.yml b/tasks/main.yml index c5a4d7f..afe3731 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,7 +18,9 @@ when: ansible_os_family == 'Debian' - name: Install NTP. - package: name=ntp state=present + package: + name: ntp + state: present - name: Ensure NTP is running and enabled as configured. service: @@ -35,6 +37,8 @@ when: not ntp_enabled - name: Generate ntp.conf file - template: src=ntp.conf.j2 dest=/etc/ntp.conf + template: + src: ntp.conf.j2 + dest: /etc/ntp.conf notify: restart ntp when: ntp_manage_config -- cgit v1.2.3