From 5c185ccc11052946c095e0172223f5c7a2b8b538 Mon Sep 17 00:00:00 2001 From: Mira <86979912+mira-miracoli@users.noreply.github.com> Date: Thu, 13 Apr 2023 16:44:30 +0200 Subject: [PATCH] Update configure.yml --- tasks/configure.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/configure.yml b/tasks/configure.yml index 9da606c..dcab312 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -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: