freeipa-client

ansible-freeipa-client

Synopsis

- hosts: all
  vars:
    freeipaclient_servers:
      - ipa.demo1.freeipa.org
      - ipa.demo2.freeipa.org
    freeipaclient_domain: ipa.demo1.freeipa.org
    freeipaclient_enroll_user: admin
    freeipaclient_enroll_pass: Secret123
  roles:
     - alvaroaleman.freeipa-client

Description

This role allows to join clients to an ipa domain.

Requirements

  • Rocky 9
  • CentOS 8
  • CentOS 7
  • Fedora 24
  • Fedora 27
  • Fedora 29
  • Fedora 30
  • Fedora 31
  • Fedora 32
  • Fedora 33
  • Fedora 34
  • Fedora 35
  • Ubuntu Trusty
  • Ubuntu Xenial

Role Variables

  • freeipaclient_servers: List of IP/Hostname of IPA servers to use (string, mandatory)
  • freeipaclient_domain: Domain to use (string, mandatory)
  • freeipaclient_enroll_user: Username to enroll host in domain (string, mandatory)
  • freeipaclient_enroll_pass: Password to enroll host in domain (string, mandatory)
  • freeipaclient_hostname: The hostname to use for the client (string, default: output of uname -n)
  • freeipaclient_dns_server: DNS server to configure. This will not do anything if variable is empty (string)
  • freeipaclient_force_join: Whether to overwrite an already existing host entry of requested name (boolean, default: false)
  • freeipaclient_enable_ntp: Whether to enable ntp. Kerberos won't work if the time of master and client drift too much (boolean, default: true)
  • freeipaclient_all_ip_addresses: Whether to add all routable ip addresses to DNS (boolean, default: true if not Trusty, else false)

License

GNU AFFERO GENERAL PUBLIC LICENSE Version 3

Contributing

If you want to contribute to this repository please be aware that this project uses a gitflow workflow with the next release branch called next.

Please fork this repository and create a local branch split off of the next branch and create pull requests back to the origin next branch.

Integration Testing

This role provides integration tests using Vagrant:

cp envvars-vagrant.sample envvars
EDITOR=vim
$EDITOR envvars
source envvars
make test

Author Information

This project has been forked from Alvaro Aleman.

About

A role to join clients to an IPA domain

Install
ansible-galaxy install CTL-Fed-Security/ansible-freeipa-client
GitHub repository
License
agpl-3.0
Downloads
45904