forward compatibility - evaluate variable with filter

This commit is contained in:
Josh Lay 2019-06-13 20:15:47 -05:00
parent ea9a19d155
commit eaab4634cd

View file

@ -40,7 +40,7 @@
line: ' - update_etc_hosts' line: ' - update_etc_hosts'
path: /etc/cloud/cloud.cfg path: /etc/cloud/cloud.cfg
state: absent state: absent
when: is_cloudy when: is_cloudy|bool
- name: add hosts to /etc/hosts - name: add hosts to /etc/hosts
lineinfile: lineinfile: