CTL-Fed-Security.ansible-ipaserver
ipaserver
This is a straightforward role designed to set up a FreeIPA server, mainly tested on Fedora.
Requirements
- CentOS 8
- CentOS 7
Role Variables
Two key variables must be provided when using this role, and they don’t have default values:
ipaserver_admin_password
ipaserver_dir_admin_password
The role also includes these predefined variables, which are found in defaults/main.yml:
ipaserver_base_command
: ipa-server-install -Uipaserver_configure_ssh
: Trueipaserver_configure_sshd
: Trueipaserver_dns_forwarders
:- 8.8.8.8
- 8.8.4.4
ipaserver_domain
: example.com (Use all lowercase. This is the actual DNS domain.)ipaserver_hbac_allow
: Trueipaserver_idstart
: 5000ipaserver_idmax
: Falseipaserver_mkhomedir
: Trueipaserver_packages
:- ipa-server
- bind
- bind-dyndb-ldap
ipaserver_realm
: EXAMPLE.COM (Use all caps. It's best if it matches the domain, but it’s not required.)ipaserver_setup_dns
: Trueipaserver_setup_ntp
: Trueipaserver_ssh_trust_dns
: Trueipaserver_ui_redirect
: True
Example Playbook
Here’s a sample playbook that uses this role while allowing some flexibility. Normally, you don't need to vary the password source this much.
- hosts: servers
vars_files:
- vars/private-idm.yml
vars_prompt:
- name: ipaserver_admin_password
prompt: "What should the admin password be for IPA?"
private: yes
default: "{{ vault_ipaserver_admin_password }}"
- name: ipaserver_dir_admin_password
prompt: "What should the admin password be for the Directory Server?"
private: yes
default: "{{ vault_ipaserver_dir_admin_password }}"
roles:
- { role: gregswift.ipaserver }
License
GPLv2
Author Information
For more information, visit: GitHub - gregswift/ansible-freeipa
Installa
ansible-galaxy install CTL-Fed-Security.ansible-ipaserver
Licenza
Unknown
Download
7
Proprietario