c567055176
- rename action and serial to kolla_ansible and kolla_serial - use become instead of "sudo <command>" in shell - Remove quota for failed_when and changed_when in rabbitmq tasks Change-Id: I78cb60168aaa40bb6439198283546b7faf33917c Implements: blueprint migrate-to-ansible-2-2-0
17 lines
476 B
YAML
17 lines
476 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: 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"
|