- name: install NTP 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
###--------------------------------------------------------------------------