From fd9f99697d3f06f636d13a34206202eb26c5ca17 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 9 May 2014 09:37:55 -0500 Subject: Add ntp_enabled variable and Travis CI test integration. --- tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/main.yml b/tasks/main.yml index 19343f2..144c455 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -14,4 +14,8 @@ when: ansible_os_family == 'Debian' - name: Ensure NTP is running. - service: name={{ ntp_daemon }} state=started enabled=yes + service: > + name={{ ntp_daemon }} + state=started + enabled=yes + when: ntp_enabled -- cgit v1.2.3