Updated from OpenStack Ansible Tests
Change-Id: I511a09f0aa5c548754ba6ed70a8db7470401b87a
This commit is contained in:
parent
d98f7e8fe4
commit
227705955e
@ -70,4 +70,14 @@
|
|||||||
force: true
|
force: true
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
# Note: Add the tasks for additional MQ servers here
|
- name: Setup RPC MQ Service (Qdrouterd)
|
||||||
|
delegate_to: "{{ _oslomsg_rpc_setup_host }}"
|
||||||
|
when:
|
||||||
|
- "(_oslomsg_configure_rpc | default(_oslomsg_rpc_transport is defined))"
|
||||||
|
- "(_oslomsg_rpc_transport is defined) and (_oslomsg_rpc_transport == 'amqp')"
|
||||||
|
tags:
|
||||||
|
- common-qdrouterd
|
||||||
|
block:
|
||||||
|
- name: Add RPC Qdrouterd user
|
||||||
|
shell: "echo {{ _oslomsg_rpc_password }} | saslpasswd2 -c -p -f /var/lib/qdrouterd/qdrouterd.sasldb -u AMQP {{ _oslomsg_rpc_userid }}"
|
||||||
|
no_log: true
|
||||||
|
Loading…
Reference in New Issue
Block a user