eeb535aa2e
Adding the role needed to run the qdrouterd as an infrastructure component which provides a messaging backend for the oslo.messaging AMQP 1.0 driver. The qdrouterd will provide direct messaging capabilities for the RPC messaging pattern in support of hybrid messaging deployments. Implements: blueprint qdrouterd-role Change-Id: I74c654b3c70f61f81c2c7efa87f076a62a4a2dd8
17 lines
464 B
YAML
17 lines
464 B
YAML
---
|
|
- name: Wait for qdrouterd is up
|
|
wait_for:
|
|
host: "{{ api_interface_address }}"
|
|
port: "{{ qdrouterd_port }}"
|
|
connect_timeout: 1
|
|
state: started
|
|
when:
|
|
- action != "config"
|
|
|
|
- name: Create qdrouterd sasl user
|
|
shell: echo {{ qdrouterd_password }} | docker exec -u root -i qdrouterd saslpasswd2 -c -p -f /var/lib/qdrouterd/qdrouterd.sasldb -u AMQP {{ qdrouterd_user }}
|
|
run_once: true
|
|
changed_when: true
|
|
when:
|
|
- action != "config"
|