I am trying to use the ansible-playbook to install the client on CentOS 8. I am getting
the following error:
TASK [ipaclient : Install - Check if one of password or keytabs are set]
********************************************************************************************************************************************************************
fatal: [
host1.example.com]: FAILED! => {"changed": false, "msg":
"At least one of password or keytabs must be specified"}
I'm not sure what is causing this.
I have the following in my ansible-freeipa inventory hosts file:
[ipaclients:vars]
ipaadmin_principal=admin
ipaadmin_password="{{ ipaadmin_password }}"
ipaclient_domain=domain.example.com
ipaclient_realm=DOMAIN.EXAMPLE.COM
#ipaclient_keytab=/tmp/krb5.keytab
#ipaclient_use_otp=yes
#ipaclient_force_join=yes
#ipaclient_kinit_attempts=3
ipaclient_mkhomedir=yes
ipaclient_allow_repair=yes
When I run the playbook I have it accessing a secrets file.
Thanks in advance!