Skip to content

Commit

Permalink
Merge pull request ansible#651 from tumbl3w33d/646_configurable_searc…
Browse files Browse the repository at this point in the history
…h_domains

Make DNS search domain configurable for awx containers
  • Loading branch information
matburt committed Nov 16, 2017
2 parents d6b10b7 + c1aa412 commit b06a508
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions installer/inventory
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@ pg_port=5432
#http_proxy=http://proxy:3128
#https_proxy=http://proxy:3128
#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
2 changes: 2 additions & 0 deletions installer/local_docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
- "{{ host_port }}:8052"
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 }}"
env:
http_proxy: "{{ http_proxy | default('') }}"
https_proxy: "{{ https_proxy | default('') }}"
Expand Down Expand Up @@ -196,6 +197,7 @@
links: "{{ awx_task_container_links|list }}"
user: root
hostname: awx
dns_search_domains: "{{ awx_container_search_domains.split(',') if awx_container_search_domains is defined else omit }}"
env:
http_proxy: "{{ http_proxy | default('') }}"
https_proxy: "{{ https_proxy | default('') }}"
Expand Down

0 comments on commit b06a508

Please sign in to comment.