X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-ansible/blobdiff_plain/5fc6de272c4e1d6b41a8c24b6ff5116548ac12c5..e305b9b00b49bc21b1785802d65fbd6ead44f43c:/roles/common/tasks/main.yml diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index a264715..5d80497 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -40,7 +40,7 @@ - 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 ###--------------------------------------------------------------------------