Skip to content

Commit

Permalink
Update configure.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mira-miracoli authored Apr 13, 2023
1 parent 7dab022 commit 5c185cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
loop: "{{ rabbitmq_users }}"
when: "item.user not in list_users.stdout"
ignore_errors: "{{ ansible_check_mode }}"

# This should fix the "no user ... found" issue
- name: Pause for 5 second to give rabbit time for user creation
ansible.builtin.pause:
seconds: 5

- name: Set permission on users
community.docker.docker_container_exec:
Expand Down

0 comments on commit 5c185cc

Please sign in to comment.