openstack-ansible/tests/roles/bootstrap-host/files/user_variables_proxy.yml
Dmitriy Rabotyagov 86d1bdff55 Rename container_address to management_address
This patch aims to reduce confusion caused by a variable
`container_address` that's applicable for bare metal hosts. With that
it renames  `is_container_address` to `is_management_address`
to be aligned with the purpose of the variable, as `container` part
raised confusion.

Change-Id: I314224f3376cf91e05680b11d225fdaf81ec32ab
2023-05-22 09:57:17 +02:00

12 lines
591 B
YAML

---
no_proxy_env: "localhost,127.0.0.1,{{ internal_lb_vip_address }},{{ external_lb_vip_address }},{% for host in groups['all_containers'] %}{{ hostvars[host]['management_address'] }}{% if not loop.last %},{% endif %}{% endfor %}"
http_proxy_env: "{{ lookup('env', 'http_proxy') }}"
https_proxy_env: "{{ lookup('env', 'https_proxy') }}"
global_environment_variables:
HTTP_PROXY: "{{ http_proxy_env }}"
HTTPS_PROXY: "{{ https_proxy_env }}"
http_proxy: "{{ http_proxy_env }}"
https_proxy: "{{ https_proxy_env }}"
NO_PROXY: "{{ no_proxy_env }}"
no_proxy: "{{ no_proxy_env }}"