Giter VIP home page Giter VIP logo

ansible-ipaclient's Introduction

Ansible Role: ansible-ipaclient

Description

Configure host as an IPA client. Can also request and install SSL certificates from IPA

Requirements

  • Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)

Role Variables

All variables which can be overridden are stored in defaults/main.yml file as well as in table below.

Name Default Value Description
ipaclient_servers [ipa1.example.com] List of IPA Servers
ipaclient_domain ipa.example.com IPA Realm
ipaclient_enroll_user admin User authorised to enrol hosts and request certs
ipaclient_enroll_pass ChangeMe Password for above user
ipaclient_force_join false Force host enrolment regardles of current state
ipaclient_enable_ntp true Configure IPA servers as the NTP source
ipaclient_all_ip_addresses false Add all IP Addresses to DNS (False adds only the primary IP)
ipaclient_ip_address false Update DNS with our primary IP address
ipaclient_enable_dns_updates true Configure sssd to update DNS when our IP changes
ipaclient_mkhomedir true Auto-create user home directories with oddjob on first login
ipaclient_ssl_create_certs false Request SSL certificate for this host
ipaclient_ssl_keylen 4096 SSL Key length
ipaclient_ssl_key_mode '0600' Permission of retrieved SSL key file
ipaclient_ssl_subject_altnames [] List of Subject AltNames (SAN) to include in the certificate
ipaclient_krb5_dns_lookup_realm true Use DNS to find the KRB5 realm
ipaclient_krb5_dns_lookup_kdc true Use DNS to find the KDC
ipaclient_krb5_dns_canonicalize_hostname false
ipaclient_krb5_extra_domains [] List of additional KRB5 domains to lookup via IPA
ipaclient_sssd_shortnames false Force short hostname display - useful in an AD trust environment

Example

Playbook

Use it in a playbook as follows:

- hosts: all
  roles:
    - ansible-ipaclient
  vars:
    ipaclient_servers:
    - auth1.ipa.example.com
    - auth2.ipa.example.com
    ipaclient_domain: ipa.example.com
    ipaclient_enroll_user: svc-ipajoin
    ipaclient_enroll_pass: "{{ vault_idm_admin_pass }}"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.