From a508708744a3175014ee918fb500ab1f2fc3352b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 19 Feb 2025 12:20:08 +0100 Subject: [PATCH] IPA: do the toddlers user setup before destroying the admin ticket MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/ipa/server/tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index cf07aa9223..04d6e13adc 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -658,6 +658,14 @@ - ipa/server - config +- name: Include toddlers setup + ansible.builtin.import_tasks: toddlers.yml + when: env == 'staging' + tags: + - ipa/server + - config + - toddlers + - name: Destroy admin ticket ansible.builtin.command: kdestroy -A changed_when: true @@ -794,11 +802,3 @@ tags: - ipa/server - config - -- name: Include toddlers setup - ansible.builtin.import_tasks: toddlers.yml - when: env == 'staging' - tags: - - ipa/server - - config - - toddlers