mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
support dns servers
This commit is contained in:
parent
5a21783013
commit
bcbda23aee
@ -80,3 +80,5 @@ pg_port=5432
|
||||
# Container networking configuration
|
||||
# Set the awx_task and awx_web containers' search domain(s)
|
||||
#awx_container_search_domains=example.com,ansible.com
|
||||
# Alternate DNS servers
|
||||
#awx_alternate_dns_servers="10.1.2.3,10.2.3.4"
|
||||
|
@ -168,6 +168,7 @@
|
||||
links: "{{ awx_web_container_links|list }}"
|
||||
hostname: awxweb
|
||||
dns_search_domains: "{{ awx_container_search_domains.split(',') if awx_container_search_domains is defined else omit }}"
|
||||
dns_servers: "{{ awx_alternate_dns_servers.split(',') if awx_alternate_dns_servers is defined else omit }}"
|
||||
env:
|
||||
http_proxy: "{{ http_proxy | default('') }}"
|
||||
https_proxy: "{{ https_proxy | default('') }}"
|
||||
@ -198,6 +199,7 @@
|
||||
user: root
|
||||
hostname: awx
|
||||
dns_search_domains: "{{ awx_container_search_domains.split(',') if awx_container_search_domains is defined else omit }}"
|
||||
dns_servers: "{{ awx_alternate_dns_servers.split(',') if awx_alternate_dns_servers is defined else omit }}"
|
||||
env:
|
||||
http_proxy: "{{ http_proxy | default('') }}"
|
||||
https_proxy: "{{ https_proxy | default('') }}"
|
||||
|
Loading…
Reference in New Issue
Block a user