mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 20:04:45 +00:00
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.
This commit is contained in:
@@ -55,6 +55,9 @@
|
|||||||
# If a keytab is specified in the hostent, then the hostent will be disabled
|
# If a keytab is specified in the hostent, then the hostent will be disabled
|
||||||
# if ipaclient_use_otp is set.
|
# if ipaclient_use_otp is set.
|
||||||
- block:
|
- 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
|
- name: Install - Get a One-Time Password for client enrollment
|
||||||
no_log: yes
|
no_log: yes
|
||||||
ipahost:
|
ipahost:
|
||||||
|
|||||||
Reference in New Issue
Block a user