From 25c457f578cac3fc74f1a87c1c80f184edb045a8 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Wed, 13 Sep 2017 23:53:23 -0400 Subject: [PATCH] Force awxweb hostname For some reason some docker deployments seem not to be able to resolve the awxweb host from the awx task host at least when started from the playbook. This hopefully provides a resolution for that --- installer/local_docker/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/local_docker/tasks/main.yml b/installer/local_docker/tasks/main.yml index 08c042ef75..11f5d4a802 100644 --- a/installer/local_docker/tasks/main.yml +++ b/installer/local_docker/tasks/main.yml @@ -149,7 +149,7 @@ awx_task_container_links: - rabbitmq - memcached - - awx_web + - awx_web:awxweb when: pg_hostname is defined - name: Set properties with postgres for awx_task @@ -158,7 +158,7 @@ awx_task_container_links: - rabbitmq - memcached - - awx_web + - awx_web:awxweb - postgres when: pg_hostname is not defined or pg_hostname == ''