tripleo-quickstart-extras/roles/freeipa-setup
Michele Baldessari ffa0d7cc35 Use shell when deploying FreeIPA
Using command works but we get no logs of the deployment command
because the command module masks away the redirection operators.
https://blog.confirm.ch/ansible-modules-shell-vs-command/

Change-Id: Ib5fb3a76e0bd205791c6264cd3c2151618153108
2018-01-16 11:33:57 +01:00
..
defaults Add role to deploy FreeIPA 2017-05-22 13:21:24 -04:00
meta Add role to deploy FreeIPA 2017-05-22 13:21:24 -04:00
tasks Use shell when deploying FreeIPA 2018-01-16 11:33:57 +01:00
templates Fix ansible-lint.sh to check playbooks 2017-11-13 09:24:23 +00:00
README.md Add role to deploy FreeIPA 2017-05-22 13:21:24 -04:00

FreeIPA Setup

An Ansible role to setup a FreeIPA server

Requirements

This role requires a running host to deploy FreeIPA

Role Variables

  • freeipa_hostname: <'ipa.tripleodomain'> -- Hostname for the FreeIPA server
  • freeipa_ip: <'192.168.24.250'> -- IP for the the FreeIPA server
  • directory_manager_password: -- Password for the directory manager
  • freeipa_admin_password: -- FreeIPA server admin password
  • undercloud_fqdn: <'undercloud.tripleodomain'> -- FQDN for the undercloud
  • provisioning_cidr: <'{{ freeipa_ip }}/24'> -- If set, it adds the given CIDR to the provisioning interface (which is hardcoded to eth1)
  • supplemental_user: The user which is used to deploy FreeIpa on the supplemental node

Example Playbook

Sample playbook to call the role

# Deploy the FreeIPA Server
- name:  Deploy FreeIPA
  hosts: freeipa_host
  gather_facts: no
  roles:
    - freeipa-setup