Joins linux server to MS Windows active directory and manages authentication via kerberos+sssd. Manages
- domain join
- kerberos setttings
- sssd service
Tested on EL7
Assumes network is fully configured including DNS and FQDN of the server.
see defaults/main.yml
siteDomain (default: none) : name of the dns-domain. Used in krb5.conf. adauth_realm (default: none) : name of the ActiveDirectory realm krb5_allow_weak_crypto (default: false) : allow krb5 weak crypto algorithms ldap_user_search_base (default: none) : ActiveDirectory search base for users ldap_group_search_base (default: none) : ActiveDirectory search base for groups keytab_root_dir (default: none) : network directory path to store created krb5-keytab files
This role is written to be standalone.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: ansible-role-adauth, tags: [ 'auth' ] }
Apache License Version 2.0, January 2004