Set node to a valid rabbitmq host
If rabbitmq is not on the same host as the nova-controller, then this task will fail. This change ensures that the task references an actual rabbitmq host vs the host the task runs on. Closes-Bug: 2020805 Change-Id: I1b58f4aeda8c9fe8db1770c63c17bf1c465f3d2a
This commit is contained in:
parent
0dd6ed7a9c
commit
52729e6855
@ -20,7 +20,7 @@
|
||||
module_args:
|
||||
user: "{{ item.user }}"
|
||||
password: "{{ item.password }}"
|
||||
node: "rabbit@{{ ansible_facts.hostname }}"
|
||||
node: "rabbit@{{ hostvars[service_rabbitmq_delegate_host]['ansible_facts']['hostname'] }}"
|
||||
update_password: always
|
||||
vhost: "{{ item.vhost }}"
|
||||
configure_priv: ".*"
|
||||
|
Loading…
Reference in New Issue
Block a user