From e80171ca5c88b538968bd5f21e1ebb988f7b6480 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 21 Dec 2023 11:45:30 +0000 Subject: [PATCH] Don't escalate privileges in task wait for admin account creation --- roles/xnat/tasks/configure.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/xnat/tasks/configure.yml b/roles/xnat/tasks/configure.yml index da0634c..f5ec003 100644 --- a/roles/xnat/tasks/configure.yml +++ b/roles/xnat/tasks/configure.yml @@ -26,6 +26,7 @@ # Add a delay here to give the admin account a chance to be created # Note, this issue only seems to happen in CI - name: Wait for Admin account creation + become: false ansible.builtin.wait_for: timeout: "{{ xnat_wait_for_tomcat | default(0) }}" delegate_to: localhost