# ansible-freeipa client install error

**URL:** <https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454>\
**Category:** Ansible Project\
**Created:** [March 13, 2020, 2:32pm UTC](https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454 "2020-03-13T14:32:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Meyer1](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Post date:** [March 13, 2020, 2:32pm UTC](https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454/1 "2020-03-13T14:32:09Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 14, 2020, 5:09pm UTC](https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454/2 "2020-03-14T17:09:05Z")

</div>

Thanks for using ansible. To answer your question more information is needed. Could you please describe clearly all of the below:

- What goal you are trying to achieve.

- How you are doing this.

- What problems you encounter.

- Which commands did you run, and what actual output did you get (copied as plain text - not as screenshots, images, or other binary attachments).

- What do the relevant inventory/tasks/playbooks/code/variables look like.

- The output of ‘ansible --version’

---

<div class="post-metadata">

**Author:** ![Andrew\_Meyer1](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Post date:** [March 16, 2020, 3:13pm UTC](https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454/3 "2020-03-16T15:13:52Z")

</div>

I am trying to install the the FreeIPA client on CentOS and RHEL 6,7,8 servers.  
I am using the ansible-freeipa module [https://github.com/freeipa/ansible-freeipa](https://github.com/freeipa/ansible-freeipa)  
The only problem I have encountered is the one I pasted regarding the keytabs or otp.

Here is the command I used:

`ansible-playbook --ask-vault-pass -i /opt/syseng/automation/ansible/passwd.yml --inventory-file /opt/syseng/automation/ansible/hosts/ansible_hosts /opt/syseng/automation/ansible-freeipa/playbooks/install-client.yml -e "target_servers=hostname001.loc.example.net" --user=user123 -vvvvvv`

freeipa inventory file

`  
[ipaclients:vars]  
ipaadmin\_principal=admin  
ipaadmin\_password=“{{ ipaadmin\_password }}”  
ipaclient\_domain=[loc.example.net](http://loc.example.net)  
ipaclient\_realm=[LOC.EXAMPLE.NET](http://LOC.EXAMPLE.NET)  
#ipaclient\_keytab=/tmp/krb5.keytab  
#ipaclient\_use\_otp=yes  
#ipaclient\_force\_join=yes  
#ipaclient\_kinit\_attempts=3  
ipaclient\_mkhomedir=yes  
ipaclient\_allow\_repair=yes

`

`$ ansible --version ansible 2.9.6 config file = /opt/syseng/automation/ansible/ansible.cfg configured module search path = ['/opt/syseng/automation/ansible-freeipa/playbooks/roles/ansible-freeipa/plugins/modules'] ansible python module location = /home/andrew.meyer/.local/lib/python3.6/site-packages/ansible executable location = /home/andrew.meyer/.local/bin/ansible python version = 3.6.8 (default, Nov 21 2019, 19:31:34) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]`

Hope that helps.

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 16, 2020, 3:21pm UTC](https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454/4 "2020-03-16T15:21:06Z")

</div>

Ah OK I see.  
In this case it's best to seek help from the author(s) of those roles.  
As a start, you could submit an issue at  
[https://github.com/freeipa/ansible-freeipa/issues](https://github.com/freeipa/ansible-freeipa/issues)

Regards
