jinja2 syntax fix
This commit is contained in:
parent
6960f3797e
commit
e2b16abac3
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue