no jinja 2 templates in conditions
This commit is contained in:
@@ -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