mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
Merge pull request #651 from tumbl3w33d/646_configurable_search_domains
Make DNS search domain configurable for awx containers
This commit is contained in:
commit
b06a508ceb
@ -72,3 +72,7 @@ pg_port=5432
|
|||||||
#http_proxy=http://proxy:3128
|
#http_proxy=http://proxy:3128
|
||||||
#https_proxy=http://proxy:3128
|
#https_proxy=http://proxy:3128
|
||||||
#no_proxy=mycorp.org
|
#no_proxy=mycorp.org
|
||||||
|
|
||||||
|
# Container networking configuration
|
||||||
|
# Set the awx_task and awx_web containers' search domain(s)
|
||||||
|
#awx_container_search_domains=example.com,ansible.com
|
||||||
|
@ -167,6 +167,7 @@
|
|||||||
- "{{ host_port }}:8052"
|
- "{{ host_port }}:8052"
|
||||||
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 }}"
|
||||||
env:
|
env:
|
||||||
http_proxy: "{{ http_proxy | default('') }}"
|
http_proxy: "{{ http_proxy | default('') }}"
|
||||||
https_proxy: "{{ https_proxy | default('') }}"
|
https_proxy: "{{ https_proxy | default('') }}"
|
||||||
@ -196,6 +197,7 @@
|
|||||||
links: "{{ awx_task_container_links|list }}"
|
links: "{{ awx_task_container_links|list }}"
|
||||||
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 }}"
|
||||||
env:
|
env:
|
||||||
http_proxy: "{{ http_proxy | default('') }}"
|
http_proxy: "{{ http_proxy | default('') }}"
|
||||||
https_proxy: "{{ https_proxy | default('') }}"
|
https_proxy: "{{ https_proxy | default('') }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user