diff --git a/tasks/http_client_proxy.yml b/tasks/http_client_proxy.yml index b670f9f..078df82 100644 --- a/tasks/http_client_proxy.yml +++ b/tasks/http_client_proxy.yml @@ -6,7 +6,7 @@ when: enable_env_proxy | bool - name: Remove the proxy environment file if not required - template: src=10-caching-proxy.sh.j2 dest=/etc/profile.d/10-caching-proxy.sh owner=root group=root mode=0444 + file: dest=/etc/profile.d/10-caching-proxy.sh state=absent when: not enable_env_proxy | bool tags: [ 'systemsetup', 'proxyenv' ]