Skip to content
Snippets Groups Projects
Commit e3ae3476 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

roles/ipaclient/tasks/install.yml: Add keytab or password required test

The failed test result in ipahost will not be seen because of the no_log
setting to hide the generated password.
parent 8af5a268
Branches
Tags
No related merge requests found
......@@ -55,6 +55,9 @@
# If a keytab is specified in the hostent, then the hostent will be disabled
# if ipaclient_use_otp is set.
- block:
- fail: msg="Keytab or password is required for otp"
when: ipaadmin_keytab is undefined and ipaadmin_password is undefined
- name: Install - Get a One-Time Password for client enrollment
no_log: yes
ipahost:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment