summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenStack Proposal Bot <openstack-infra@lists.openstack.org>2018-08-15 13:41:14 +0000
committerOpenStack Proposal Bot <openstack-infra@lists.openstack.org>2018-08-15 13:41:14 +0000
commit481e5c26f9c7c4e4243f40bafd2676a25c06369f (patch)
treefe1c0d086a1296bfe1089a0b549b28ef5cc53228
parentb55da4ddc4d003078a062deaa3a0ae507a44766d (diff)
Updated from OpenStack Ansible Tests
Notes
Notes (review): Code-Review+2: Mohammed Naser <mnaser@vexxhost.com> Workflow+1: Mohammed Naser <mnaser@vexxhost.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 15 Aug 2018 17:15:44 +0000 Reviewed-on: https://review.openstack.org/592042 Project: openstack/openstack-ansible-os_magnum Branch: refs/heads/master
-rw-r--r--tasks/mq_setup.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/tasks/mq_setup.yml b/tasks/mq_setup.yml
index 64530af..4c06e3e 100644
--- a/tasks/mq_setup.yml
+++ b/tasks/mq_setup.yml
@@ -70,4 +70,14 @@
70 force: true 70 force: true
71 no_log: true 71 no_log: true
72 72
73# Note: Add the tasks for additional MQ servers here 73- name: Setup RPC MQ Service (Qdrouterd)
74 delegate_to: "{{ _oslomsg_rpc_setup_host }}"
75 when:
76 - "(_oslomsg_configure_rpc | default(_oslomsg_rpc_transport is defined))"
77 - "(_oslomsg_rpc_transport is defined) and (_oslomsg_rpc_transport == 'amqp')"
78 tags:
79 - common-qdrouterd
80 block:
81 - name: Add RPC Qdrouterd user
82 shell: "echo {{ _oslomsg_rpc_password }} | saslpasswd2 -c -p -f /var/lib/qdrouterd/qdrouterd.sasldb -u AMQP {{ _oslomsg_rpc_userid }}"
83 no_log: true