[ipa/server] Retrieve admin ticket before removing agreement
Removing the replication agreement needs admin kerberos ticket. Let's obtain one before removing the replication agreement. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
141c44fe5b
commit
10dc944bbf
1 changed files with 4 additions and 0 deletions
|
@ -134,6 +134,10 @@
|
|||
--unattended
|
||||
when: ansible_distribution_major_version|int >= 9
|
||||
|
||||
- name: Get admin ticket on ipa master
|
||||
shell: echo "{{ipa_admin_password}}" | kinit admin
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
|
||||
# Replication agreement needs to be removed from ipa cluster
|
||||
# before installing the replica
|
||||
- name: Remove the replication agreement for the replica
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue