diff --git a/tasks/os-debian.yml b/tasks/os-debian.yml index 7745777..05c0261 100644 --- a/tasks/os-debian.yml +++ b/tasks/os-debian.yml @@ -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: