---
###############################################################################
# Configuration of HTTP(S) proxies.

# HTTP proxy URL (format: http(s)://[user:password@]proxy_name:port). By
# default no proxy is used.
http_proxy: ""

# HTTPS proxy URL (format: http(s)://[user:password@]proxy_name:port). By
# default no proxy is used.
https_proxy: ""

# List of domains, hostnames, IP addresses and networks for which no proxy is
# used. Defaults to ["127.0.0.1", "localhost", "{{ ('http://' ~
# docker_registry) | urlsplit('hostname') if docker_registry else '' }}",
# "{{ kolla_internal_vip_address }}", "{{ lookup('vars',
# provision_oc_net_name ~ '_ips', default={})[groups.seed[0]] |
# default('', true) if groups.seed | default([]) | length else '' }}"].
# This is configured only if either http_proxy or https_proxy is set.
no_proxy:
  - "127.0.0.1"
  - "localhost"
  - "{{ ('http://' ~ docker_registry) | urlsplit('hostname') if docker_registry else '' }}"
  - "{{ kolla_internal_vip_address }}"
  - "{{ lookup('vars', provision_oc_net_name ~ '_ips', default={})[groups.seed[0]] | default('', true) if groups.seed | default([]) | length else '' }}"
