1
0
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:
Ryan Wallner 2018-01-18 07:46:09 -05:00
parent 5a21783013
commit bcbda23aee
2 changed files with 4 additions and 0 deletions

View File

@ -80,3 +80,5 @@ pg_port=5432
# Container networking configuration # Container networking configuration
# Set the awx_task and awx_web containers' search domain(s) # Set the awx_task and awx_web containers' search domain(s)
#awx_container_search_domains=example.com,ansible.com #awx_container_search_domains=example.com,ansible.com
# Alternate DNS servers
#awx_alternate_dns_servers="10.1.2.3,10.2.3.4"

View File

@ -168,6 +168,7 @@
links: "{{ awx_web_container_links|list }}" links: "{{ awx_web_container_links|list }}"
hostname: awxweb hostname: awxweb
dns_search_domains: "{{ awx_container_search_domains.split(',') if awx_container_search_domains is defined else omit }}" 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: env:
http_proxy: "{{ http_proxy | default('') }}" http_proxy: "{{ http_proxy | default('') }}"
https_proxy: "{{ https_proxy | default('') }}" https_proxy: "{{ https_proxy | default('') }}"
@ -198,6 +199,7 @@
user: root user: root
hostname: awx hostname: awx
dns_search_domains: "{{ awx_container_search_domains.split(',') if awx_container_search_domains is defined else omit }}" 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: env:
http_proxy: "{{ http_proxy | default('') }}" http_proxy: "{{ http_proxy | default('') }}"
https_proxy: "{{ https_proxy | default('') }}" https_proxy: "{{ https_proxy | default('') }}"