[ipa/server] Don't ask for reinstall in some cases #2548
1 changed files with 2 additions and 1 deletions
|
@ -122,9 +122,10 @@
|
||||||
|
|
||||||
- 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 replica for {{ item }} (ignored for master node and any node with /var/log/ipainstall.log)? (yes/no)"
|
prompt: "Do you want to reinstall replica for {{ item }}? (yes/no)"
|
||||||
register: confirm_replica
|
register: confirm_replica
|
||||||
with_items: "{{ play_hosts }}"
|
with_items: "{{ play_hosts }}"
|
||||||
|
when: not ipa_initial or not check_replica.stat.exists
|
||||||
tags:
|
tags:
|
||||||
- ipa/server
|
- ipa/server
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue