repo changes and ipa fqdn notes

This commit is contained in:
nazunalika 2020-12-16 00:09:58 -07:00
parent 8e98dc04e0
commit 1ab71a2d4d
2 changed files with 30 additions and 7 deletions

View File

@ -10,19 +10,22 @@ ipareplicas
ipaclients
# Playbook and role specific inventory hosts and groups
# Note, for IPA collection to function, these must be fqdn
[ipaserver]
ipa001 ansible_host=10.100.1.110
ipa001.rockylinux.org ansible_host=10.100.1.110
[ipareplicas]
ipa002 ansible_host=10.100.1.111
ipa002.rockylinux.org ansible_host=10.100.1.111
[ipaclients]
build-a-box ansible_host=10.100.1.112
build-a-box.rockylinux.org ansible_host=10.100.1.112
idp001.rockylinux.org ansible_host=10.100.x.x
chrony001.rockylinux.org ansiblehost=10.100.3.110
chrony002.rockylinux.org ansiblehost=10.200.3.111
[ipsilon]
idp001 ansible_host=10.100.x.x
idp001.rockylinux.org ansible_host=10.100.x.x
[chronyservers]
chrony001 ansiblehost=10.100.3.110
chrony002 ansiblehost=10.200.3.111
chrony001.rockylinux.org ansiblehost=10.100.3.110
chrony002.rockylinux.org ansiblehost=10.200.3.111

View File

@ -22,6 +22,26 @@
- "not no_ansible.stat.exists"
msg: "/etc/no-ansible exists - skipping run on this node"
# EPEL and PowerTools are required for ipsilon to function
# I also couldn't find an ansible built-in to do this
- name: Enable the PowerTools repository
ini_file:
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
section: powertools
option: enabled
value: 1
owner: root
group: root
mode: '0644'
# The CentOS extras repos has epel-release provided
- name: Enable the EPEL repository
yum:
name: epel-release
state: present
tags:
- packages
- name: Install arrfab ipsilon repo
yum_repository:
name: copr:copr.fedorainfracloud.org:arrfab:noggin