chiark
/
gitweb
/
~mdw
/
distorted-ansible
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5fc6de2
)
roles/common/tasks/main.yml: Use `default' filter instead of circumlocution.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 13 Jul 2015 08:19:25 +0000
(09:19 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 13 Jul 2015 08:19:25 +0000
(09:19 +0100)
roles/common/tasks/main.yml
patch
|
blob
|
blame
|
history
diff --git
a/roles/common/tasks/main.yml
b/roles/common/tasks/main.yml
index a26471598b4fd397986aeb41ec90dccf7641e2e8..5d8049710fcf474b16dc7b9b06ada35f9647621e 100644
(file)
--- 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
- 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
###--------------------------------------------------------------------------
notify: restart ntpd
###--------------------------------------------------------------------------