summaryrefslogtreecommitdiffstats
path: root/installer/roles
diff options
context:
space:
mode:
Diffstat (limited to 'installer/roles')
-rw-r--r--installer/roles/local_docker/defaults/main.yml2
-rw-r--r--installer/roles/local_docker/templates/credentials.py.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/roles/local_docker/defaults/main.yml b/installer/roles/local_docker/defaults/main.yml
index 86bc710cb4..ede07f1f94 100644
--- a/installer/roles/local_docker/defaults/main.yml
+++ b/installer/roles/local_docker/defaults/main.yml
@@ -5,7 +5,7 @@ rabbitmq_version: "3.7.4"
rabbitmq_image: "ansible/awx_rabbitmq:{{rabbitmq_version}}"
rabbitmq_default_vhost: "awx"
rabbitmq_erlang_cookie: "cookiemonster"
-rabbitmq_host: "rabbitmq"
+rabbitmq_hostname: "rabbitmq"
rabbitmq_port: "5672"
rabbitmq_user: "guest"
rabbitmq_password: "guest"
diff --git a/installer/roles/local_docker/templates/credentials.py.j2 b/installer/roles/local_docker/templates/credentials.py.j2
index 04f4031608..7e8e4cbb0a 100644
--- a/installer/roles/local_docker/templates/credentials.py.j2
+++ b/installer/roles/local_docker/templates/credentials.py.j2
@@ -13,7 +13,7 @@ DATABASES = {
BROKER_URL = 'amqp://{}:{}@{}:{}/{}'.format(
"{{ rabbitmq_user }}",
"{{ rabbitmq_password }}",
- "{{ rabbitmq_host | default('rabbitmq')}}",
+ "{{ rabbitmq_hostname | default('rabbitmq')}}",
"{{ rabbitmq_port }}",
"{{ rabbitmq_default_vhost }}")