Remove the proxy configuration for real, when not enabled.

This commit is contained in:
Andrea Dell'Amico 2020-05-22 19:41:22 +02:00
parent 01aea33431
commit 198dd09095
1 changed files with 1 additions and 1 deletions

View File

@ -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' ]