changed "when" statement

if using '{{}}’, you need to quote the whole line
This commit is contained in:
2022-02-17 21:38:18 +01:00
parent 0b3d2796a3
commit 2463fc198d

View File

@@ -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"