Open dsroark-dt opened 4 years ago
update: similar error when I try to get an OTP using ipaadmin_password
instead of ipaadmin_keytab
Yes, the combination of ipaadmin_keytab
and ipaclient_get_otp
is not supported by the module.
I do not understand why you have issues with ipaadmin_password
though. Have you been trying to use the module outside of the ipaclient role? Have you modified the ipaclient role?
PR https://github.com/freeipa/ansible-freeipa/pull/987 is changing the code for OTP. The action plugin is removed and the OTP is generated on the first entry in the server list returned by ipaclient_test.
when i try to run the Install - Get One-Time Password for client enrollment task for an ipaclient enrollment, I get the following error:
I invoked the task with:
And looking at the module, it appears that this parameter is indeed not a part of it. Is this as designed? Should I avoid using a keytab when enrolling hosts?
Running ansible version 2.9.11 and the ansible-freeipa galaxy collection.
The controller is running MacOS Catalina and the target client host is running the latest CentOS 7. My IPA cluster is up and running fine, installed through the same collection and I can generate a keytab using the admin principal.
The controller's (my mac's) virtualenv: