no jinja 2 templates in conditions

This commit is contained in:
2022-02-17 22:20:21 +01:00
parent f72efdb7f0
commit 9267c3b723

View File

@@ -7,9 +7,9 @@
msg: Debug msg: Debug
# install software # install software
- import_tasks: install_apache.yml - import_tasks: install_apache.yml
when: "{{ apache }} == true" when: apache == true
- import_tasks: install_nginx.yml - import_tasks: install_nginx.yml
when: "{{ nginx }} == true" when: nginx == true
- name: webserver | acme | install acme - name: webserver | acme | install acme
package: package:
name: acme name: acme