changed "when" statement

if using '{{}}’, you need to quote the whole line
This commit is contained in:
rene committed 2022-02-17 21:38:18 +01:00
1 parent 0b3d2796a3
commit 2463fc198d
1 file changed
+2 -2
+2 -2
View File
@@ -7,6 +7,6 @@
msg: Debug msg: Debug
# install software # install software
- import_tasks: install_apache.yml - import_tasks: install_apache.yml
when: "{{ apache }}" is true when: "{{ apache }} == true"
- import_tasks: install_nginx.yml - import_tasks: install_nginx.yml
when: "{{ nginx }}" is true when: "{{ nginx }} == true"