File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
environments/common/inventory/group_vars Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2727 name : proxy
2828 vars :
2929 proxy_state : absent
30- when : proxy_remove | bool == true
30+ when : proxy_remove | default(false) | bool == true
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ proxy_http_address: "{{ (hostvars[groups['squid'].0 | default(None)] | default({
1313# port of proxy - override if not using appliance squid group/role:
1414proxy_http_port : " {{ squid_http_port }}"
1515
16+ # whether to remove the proxy configuration at the end of Ansible runs:
17+ # (useful for image build where this should not be captured in the image)
18+ proxy_remove : false
19+
1620# full http proxy string - override if the above don't provide enough control:
1721proxy_http_proxy : >-
1822 {% if groups['squid'] | length > 0 %}
Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ sssd_started: false
2626sssd_enabled : false
2727slurm_exporter_state : stopped
2828appliances_mode : build
29+ proxy_remove : true
You can’t perform that action at this time.
0 commit comments