Updated from OpenStack Ansible Tests

Change-Id: I373aec0522117508a94792145c43d450f41880d7
This commit is contained in:
OpenStack Proposal Bot 2018-08-15 13:42:21 +00:00 committed by Jesse Pretorius (odyssey4me)
parent 494f10404a
commit 96f65cb3d7
1 changed files with 11 additions and 1 deletions

View File

@ -70,4 +70,14 @@
force: 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