horizonnet.kerberos_server
kerberos_server
This role helps you to install a Key Distribution Center (KDC) on the target machine. It is based on the work of Benno Joy.
The setup creates a KDC and a new realm as you specify. It also sets up a default admin user for managing the Kerberos server.
You can set the admin username with "kerberos_server_kadmin_user" and the password with "kerberos_server_kadmin_pass".
Additionally, a user named "cloudera-scm" is created for Cloudera Manager.
Requirements
You need Ansible version 1.4 or later, and the platform requirements are in the metadata file.
Role Variables
You can use the following variables with this role:
kerberos_server_realm_name
: EXAMPLE.COM — Name for the Kerberos realm.kerberos_server_kdc_port
: 88 — The port the KDC listens on.kerberos_server_master_db_pass
: foobar — Password for the master Kerberos database.kerberos_server_kadmin_pass
: foobar — Password for the Kerberos admin.kerberos_server_kadmin_user
: test — Username for the Kerberos admin.kerberos_server_users
:name
: userpassword
: password — Initial password (will not change if user already exists).state
: present — Can be set to present or absent.
Example
Here is an example that sets up a Kerberos server with the realm EXAMPLE.COM, admin user "root", and password "foobar":
- hosts: all
roles:
- { role: kerberos_server, kerberos_server_realm_name: "EXAMPLE.COM",
kerberos_server_kadmin_user: "root",
kerberos_server_kadmin_pass: "foobar" }
Dependencies
None
License
This project is licensed under the BSD 3-clause license. See the LICENSE file for more details.
Author Information
Written by Matthias Baumann & Jan Hentschel from Ultra Tendency GmbH.
ansible-galaxy install horizonnet.kerberos_server