[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 <mkonecny@redhat.com>
This commit is contained in:
parent
f7a8e2ecb1
commit
76c167eba6
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue