changed "when" statement
if using '{{}}’, you need to quote the whole line
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
msg: Debug
|
||||
# install software
|
||||
- import_tasks: install_apache.yml
|
||||
when: "{{ apache }}" is true
|
||||
when: "{{ apache }} == true"
|
||||
- import_tasks: install_nginx.yml
|
||||
when: "{{ nginx }}" is true
|
||||
when: "{{ nginx }} == true"
|
||||
Reference in New Issue
Block a user