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 27
27
name : proxy
28
28
vars :
29
29
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({
13
13
# port of proxy - override if not using appliance squid group/role:
14
14
proxy_http_port : " {{ squid_http_port }}"
15
15
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
+
16
20
# full http proxy string - override if the above don't provide enough control:
17
21
proxy_http_proxy : >-
18
22
{% if groups['squid'] | length > 0 %}
Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ sssd_started: false
26
26
sssd_enabled : false
27
27
slurm_exporter_state : stopped
28
28
appliances_mode : build
29
+ proxy_remove : true
You can’t perform that action at this time.
0 commit comments