From 76c167eba680898f05d24abdee7e7d38de64d9f3 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Oct 11 2024 10:45:13 +0000 Subject: [ipa/server] Remove the when condition from pause It seems that the pause module skips every host if the first one is skipped by when condition. Signed-off-by: Michal Konecny --- diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index 0760234..cfdf774 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -108,7 +108,6 @@ ansible.builtin.pause: prompt: "Do you want to reinstall replica for {{ item }}? (yes/no)" register: confirm_replica - when: not check_replica.stat.exists with_items: "{{ play_hosts }}" tags: - ipa/server @@ -146,7 +145,7 @@ when: - not ipa_initial - not check_replica.stat.exists - - confirm_replica | default('no') | bool + - confirm_replica.user_input | default('no') | bool tags: - ipa/server - config