Updated from OpenStack Ansible Tests

Change-Id: Ib3efeb76a522b1e8f20985e34b83e917a27e24eb
This commit is contained in:
OpenStack Proposal Bot 2019-04-13 20:22:45 +00:00
parent 407981a711
commit ec32b233c2
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,8 @@
rabbitmq_vhost: rabbitmq_vhost:
name: "{{ _oslomsg_notify_vhost }}" name: "{{ _oslomsg_notify_vhost }}"
state: "present" state: "present"
when:
- _oslomsg_notify_vhost != _oslomsg_rpc_vhost
- name: Add Notify RabbitMQ user - name: Add Notify RabbitMQ user
rabbitmq_user: rabbitmq_user:
@ -69,6 +71,8 @@
state: "present" state: "present"
force: true force: true
no_log: true no_log: true
when:
- _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 }}"