jinja2 syntax fix

This commit is contained in:
Denis Knauf 2024-09-19 23:38:17 +02:00
parent 6960f3797e
commit e2b16abac3

View file

@ -12,7 +12,7 @@
group: root
mode: 0644
vars:
value: "{{if true == apt_clean_after_install or apt_proxy is defined then 'true' else 'false'}}"
value: "{{'true' if true == apt_clean_after_install or apt_proxy is defined else 'false'}}"
- name: "Use proxy for apt http"
when: "apt_proxy is defined"
copy: