Updated from OpenStack Ansible Tests
Change-Id: I2376a7350e73aa7c873266c54a917e6c29c5d36b
This commit is contained in:
parent
3ebffbd6ac
commit
7fdf36ee6a
@ -46,7 +46,7 @@
|
||||
no_log: true
|
||||
|
||||
- name: Setup Notify MQ Service (RabbitMQ)
|
||||
delegate_to: "{{ _oslomsg_rpc_setup_host }}"
|
||||
delegate_to: "{{ _oslomsg_notify_setup_host }}"
|
||||
when:
|
||||
- "(_oslomsg_configure_notify | default(_oslomsg_notify_transport is defined))"
|
||||
- "(_oslomsg_notify_transport is defined) and (_oslomsg_notify_transport == 'rabbit')"
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user