[ipa/server] Don't ask for reinstall in some cases #2548

Merged
ryanlerch merged 1 commit from main into main 2025-03-31 13:30:55 +00:00

View file

@ -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