Skip to content

Commit

Permalink
Merge pull request #511 from t-woerner/ipaclient_otp_rmkeytab_error#7
Browse files Browse the repository at this point in the history
ipaclient: Do not fail on rmkeytab error #7
  • Loading branch information
varunmylaraiah authored Feb 22, 2021
2 parents 5bed0d6 + 976cd1b commit 3c666cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/ipaclient/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c666cc

Please sign in to comment.