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 group: root
mode: 0644 mode: 0644
vars: 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" - name: "Use proxy for apt http"
when: "apt_proxy is defined" when: "apt_proxy is defined"
copy: copy: