mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user