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
# 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