[ipa/server] Run the confirmation dialog for every machine
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
3425914190
commit
f7a8e2ecb1
1 changed files with 3 additions and 6 deletions
|
@ -106,17 +106,14 @@
|
||||||
|
|
||||||
- name: ask admin if they are ok reinstalling this ipa server replica
|
- name: ask admin if they are ok reinstalling this ipa server replica
|
||||||
ansible.builtin.pause:
|
ansible.builtin.pause:
|
||||||
prompt: "Do you want to reinstall replicas for all replica servers missing /var/log/ipainstall.log (this indicates that the ipa-replica-install wasn't run yet)? (yes/no)"
|
prompt: "Do you want to reinstall replica for {{ item }}? (yes/no)"
|
||||||
register: confirm_replica
|
register: confirm_replica
|
||||||
|
when: not check_replica.stat.exists
|
||||||
|
with_items: "{{ play_hosts }}"
|
||||||
tags:
|
tags:
|
||||||
- ipa/server
|
- ipa/server
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: save output for other hosts
|
|
||||||
ansible.builtin.set_fact:
|
|
||||||
run_once: true
|
|
||||||
confirm_replica: "{{ confirm_replica.user_input }}"
|
|
||||||
|
|
||||||
- name: configure replication
|
- name: configure replication
|
||||||
block:
|
block:
|
||||||
# The ipa-client-install makes the ipa-replica-install fail
|
# The ipa-client-install makes the ipa-replica-install fail
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue