10c1669364
Change-Id: I3d0047d24b6daf35f30bd3429428e83b448e6414 Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
20 lines
513 B
YAML
20 lines
513 B
YAML
---
|
|
- name: Wait for qdrouterd is up
|
|
wait_for:
|
|
host: "{{ api_interface_address }}"
|
|
port: "{{ qdrouterd_port }}"
|
|
connect_timeout: 1
|
|
state: started
|
|
when:
|
|
- kolla_action != "config"
|
|
|
|
- name: Create qdrouterd sasl user
|
|
shell: >
|
|
set -o pipefail && \
|
|
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:
|
|
- kolla_action != "config"
|