Ansible Role freeipa_client

This role installs and configures FreeIPA as a client.

Runs on

  • RHEL 7 (and compatible)

  • RHEL 8 (and compatible)

Mandatory Requirements

Tags

Tag

What it does

freeipa_client

Installs and configures FreeIPA as a client

Optional Role Variables

Variable

Description

Default Value

freeipa_client__create_home_dir

Defines if PAM will be configured to create a users home directory if it does not exist.

true

freeipa_client__ipa_admin_user

The IPA admin user / Kerberos admin principal.

{'username': 'admin', 'password': freeipa_server__ipa_admin_password}

Example:

# optional
freeipa_client__create_home_dir: true
freeipa_client__ipa_admin_user:
  username: 'admin'
  password: 'linuxfabrik'

Troubleshooting

msg: Unable to discover domain, not provided on command line: Check your DNS server configuration - IN SOA and IN NS options, as well as a correct _ldap._tcp IN SRV 10 10 389 freeipa-server.example.com. in your forward zone.

Joining realm failed: JSON-RPC call failed: Couldn't connect to server: Check firewall settings, perhaps a port like LDAP or HTTPS is blocked.

Re-join an unprovisioned host: ansible-playbook ... --extra-vars='ipaclient_force_join=true'

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich