Updated from OpenStack Ansible Tests
Change-Id: I270e60e79785f46db2f3cb1e2991eea7a5f930c2
This commit is contained in:
parent
e25fed9f51
commit
6999a6a123
@ -67,7 +67,8 @@
|
||||
name: "{{ _oslomsg_notify_vhost }}"
|
||||
state: "present"
|
||||
when:
|
||||
- _oslomsg_notify_vhost != _oslomsg_rpc_vhost
|
||||
- (_oslomsg_rpc_vhost is undefined) or
|
||||
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
|
||||
|
||||
- name: Apply Notify RabbitMQ vhost policies
|
||||
rabbitmq_policy:
|
||||
@ -78,7 +79,8 @@
|
||||
vhost: "{{ _oslomsg_notify_vhost }}"
|
||||
loop: "{{ _oslomsg_notify_policies | default([]) + oslomsg_notify_policies }}"
|
||||
when:
|
||||
- _oslomsg_notify_vhost != _oslomsg_rpc_vhost
|
||||
- (_oslomsg_rpc_vhost is undefined) or
|
||||
(_oslomsg_notify_vhost != _oslomsg_rpc_vhost)
|
||||
|
||||
- name: Add Notify RabbitMQ user
|
||||
rabbitmq_user:
|
||||
@ -92,7 +94,8 @@
|
||||
force: true
|
||||
no_log: true
|
||||
when:
|
||||
- _oslomsg_notify_userid != _oslomsg_rpc_userid
|
||||
- (_oslomsg_rpc_userid is undefined) or
|
||||
(_oslomsg_notify_userid != _oslomsg_rpc_userid)
|
||||
|
||||
- name: Setup RPC MQ Service (Qdrouterd)
|
||||
delegate_to: "{{ _oslomsg_rpc_setup_host }}"
|
||||
|
Loading…
Reference in New Issue
Block a user