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
(cherry picked from commit 52729e6855
)
This commit is contained in:
parent
11267550da
commit
fc94a6d4b4
@ -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