diff options
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/main.yml | 6 |
1 files changed, 5 insertions, 1 deletions
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 |