The goal of this repository is to provide a simple, reproducible way to deploy FreeIPA on a Fedora CoreOS server inside of VMware with a Static IP. The server is deployed with 2 systemd services. The first service clones the freeipa-container repository and then builds the image based on the latest Dockerfile. The second systemd service will run the FreeIPA container.
Start by editing the group_vars/all.yml
file:
-
Set the vCenter variables
- IP/Host Name of vCenter
- vCenter Network
- Datastore name
- Datacenter name
- username and passwords of vCenter Account
- Absoluate folder path - e.g /DataCenter/vm/Folder/
- VM Power state after being deployed
-
Configure your Fedora CoreOS URL and govc version.
- Set the Fedora CoreOS stream version.
stable
is the default
- Set the Fedora CoreOS stream version.
-
Configure your FreeIPA VM Settings
- VM and Host Name
- IP Addr, Gateway, Net Mask, DNS
- Number of CPUs
- Amount of Memory in MB
- Size of the HDD in GBs
-
Configure your FreeIPA Admin and DS Password
- vSphere ESXi and vCenter 6.7 or 7.0 installed.
- A datacenter created with a vSphere host added to it and a datastore exists that has adequate capacity.
- Ansible (preferably latest) on the machine where this repo is cloned.
- Before you install Ansible, install the
epel-release
, runyum -y install epel-release
- Before you install Ansible, install the
# Deploy the Lab and all components
ansible-playbook deploy-freeipa.yml
skip_ova=true
- Skips downloading and deploying the OVA if previous deployed to vCenter.
redeploy=true
- Deletes existing FreeIPA vm
- Necessary Linux packages installed for the installation
- Necessary folders [bin, downloads] created
govc
downloaded and extracted- FCOS ova downloaded to the downloads folder
- FreeIPA VM is created in the designated folder and (in state of) poweredon
Morgan Peterman