From 8a9012d31c448db2cfb31a24aedcdffa95e3f618 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Mar 10 2021 08:16:14 +0000 Subject: Apply patch ansible-freeipa-0.3.2-ipaclient-Do-not-fail-on-rmkeytab-error-7_rhbz#1931381.patch patch_name: ansible-freeipa-0.3.2-ipaclient-Do-not-fail-on-rmkeytab-error-7_rhbz#1931381.patch present_in_specfile: true --- diff --git a/roles/ipaclient/tasks/install.yml b/roles/ipaclient/tasks/install.yml index fccc72e..23f9529 100644 --- a/roles/ipaclient/tasks/install.yml +++ b/roles/ipaclient/tasks/install.yml @@ -181,8 +181,12 @@ # Do not fail on error codes 3 and 5: # 3 - Unable to open keytab # 5 - Principal name or realm not found in keytab + # 7 - Failed to set cursor, typically when errcode + # would be issued in past failed_when: result_ipa_rmkeytab.rc != 0 and - result_ipa_rmkeytab.rc != 3 and result_ipa_rmkeytab.rc != 5 + result_ipa_rmkeytab.rc != 3 and + result_ipa_rmkeytab.rc != 5 and + result_ipa_rmkeytab.rc != 7 when: (ipaclient_use_otp | bool or ipaclient_force_join | bool) and not ipaclient_on_master | bool - name: Install - Backup and set hostname