mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Consistent naming scheme; rabbitmq_host -> rabbitmq_hostname
environment.sh uses hostname for everything, and both environment and credentials provide a default of 'rabbitmq', so this should be one less variable to care about.
This commit is contained in:
parent
b88f4ce27c
commit
91c78d7137
@ -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"
|
||||
|
||||
@ -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 }}")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user