mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
Add inventory vars to set docker install hostnames
Signed-off-by: walkafwalka <41709139+walkafwalka@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ services:
|
||||
{% endif %}
|
||||
ports:
|
||||
- "{{ host_port }}:8052"
|
||||
hostname: awxweb
|
||||
hostname: {{ awx_web_hostname }}
|
||||
user: root
|
||||
restart: unless-stopped
|
||||
{% if (project_data_dir is defined) or (ca_trust_dir is defined) %}
|
||||
@@ -71,7 +71,7 @@ services:
|
||||
{% if pg_hostname is not defined %}
|
||||
- postgres
|
||||
{% endif %}
|
||||
hostname: awx
|
||||
hostname: {{ awx_task_hostname }}
|
||||
user: root
|
||||
restart: unless-stopped
|
||||
{% if (project_data_dir is defined) or (ca_trust_dir is defined) %}
|
||||
|
||||
Reference in New Issue
Block a user