forward compatibility - evaluate variable with filter
This commit is contained in:
parent
ea9a19d155
commit
eaab4634cd
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
|||
line: ' - update_etc_hosts'
|
||||
path: /etc/cloud/cloud.cfg
|
||||
state: absent
|
||||
when: is_cloudy
|
||||
when: is_cloudy|bool
|
||||
|
||||
- name: add hosts to /etc/hosts
|
||||
lineinfile:
|
||||
|
|
Loading…
Reference in a new issue