Skip to content

Commit

Permalink
plays: add a pause before starting the broker
Browse files Browse the repository at this point in the history
  • Loading branch information
rpelisse committed Dec 12, 2023
1 parent bba2b45 commit 43ed30b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion playbooks/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
roles:
- role: amq_streams_zookeeper
tasks:

- name: "Give a rest to the target, sometimes zk takes a while to start"
ansible.builtin.wait_for:
timeout: 60

- name: "Ensure AMQ Streams Broker is running and available."
ansible.builtin.include_role:
name: amq_streams_broker
Expand All @@ -31,7 +36,7 @@

- name: "Give a rest to the target, sometimes broker takes a while to start"
ansible.builtin.wait_for:
timeout: 180
timeout: 60

post_tasks:
- name: "Ensures topics exist."
Expand Down

0 comments on commit 43ed30b

Please sign in to comment.