[ipa/server] Remove the replication agreement before installing replica
The replica install will fail otherwise. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
7c296fed36
commit
141c44fe5b
1 changed files with 6 additions and 0 deletions
|
@ -134,6 +134,12 @@
|
|||
--unattended
|
||||
when: ansible_distribution_major_version|int >= 9
|
||||
|
||||
# Replication agreement needs to be removed from ipa cluster
|
||||
# before installing the replica
|
||||
- name: Remove the replication agreement for the replica
|
||||
command: "ipa server-del --force {{ ansible_hostname }}"
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
|
||||
- name: deploy replica
|
||||
command: ipa-replica-install
|
||||
--setup-ca
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue