no jinja 2 templates in conditions
This commit is contained in:
1 parent
f72efdb7f0
commit
9267c3b723
1 file changed
+2
-2
@@ -7,9 +7,9 @@
|
||||
msg: Debug
|
||||
# install software
|
||||
- import_tasks: install_apache.yml
|
||||
when: "{{ apache }} == true"
|
||||
when: apache == true
|
||||
- import_tasks: install_nginx.yml
|
||||
when: "{{ nginx }} == true"
|
||||
when: nginx == true
|
||||
- name: webserver | acme | install acme
|
||||
package:
|
||||
name: acme
|
||||
|
||||
Reference in new issue
Block a user