chiark / gitweb /
roles/common/tasks/main.yml: Change ntp-client task title.
[distorted-ansible] / roles / common / tasks / main.yml
index a26471598b4fd397986aeb41ec90dccf7641e2e8..bfad5558936031844b8a81a5d11a0afada1fa317 100644 (file)
 ###--------------------------------------------------------------------------
 ### NTP configuration.
 
-- name: install NTP configuration files
+- name: install NTP client configuration files
   tags: [ntp, ntp-client]
   copy: src=ntp-client/ntp.conf dest=/etc
-  when: server is not defined or 'ntp' not in server
+  when: ('ntp') not in server |default([])
   notify: restart ntpd
 
 ###--------------------------------------------------------------------------