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