Logan V a8e99a6825 Only configure proxy on the compute hosts
Since only the compute hosts are not connected to the internet,
these are the only hosts in the environment that should require
a proxy configuration.

Change-Id: Ie3b8474fda2b6d2a0c2de4e18739824fec25fd3f
2018-09-12 00:08:50 -06:00

18 lines
531 B
YAML

---
# 10.x network NTP servers
security_ntp_servers:
- int.ntp1.lstn.net
- int.ntp2.lstn.net
# Proxy config
proxy_env_url: http://mirror.lstn.net:8995/
no_proxy_env: "localhost,127.0.0.1,{{ internal_lb_vip_address }},{{ external_lb_vip_address }},mirror.lstn.net,{{ ansible_host }}"
global_environment_variables:
HTTP_PROXY: "{{ proxy_env_url }}"
HTTPS_PROXY: "{{ proxy_env_url }}"
NO_PROXY: "{{ no_proxy_env }}"
http_proxy: "{{ proxy_env_url }}"
https_proxy: "{{ proxy_env_url }}"
no_proxy: "{{ no_proxy_env }}"