batcave01(NEW AND IMPROVED): adjust for rhle9 move

Fix the kickstart/repo for reinstall.
Add rhel-system-roles for linux-system-roles/networking
Drop some python2 items that aren't available in rhel9 anymore.
Collapse the batcave02 stuff into batcave01

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-07-13 16:21:24 -07:00
parent 757c4f65c3
commit 78422a3fd2
2 changed files with 3 additions and 35 deletions

View file

@ -2,8 +2,8 @@
datacenter: iad2
eth0_ipv4_gw: 10.3.163.254
eth0_ipv4_ip: 10.3.163.35
ks_repo: http://38.145.60.16/repo/rhel/RHEL8-x86_64/
ks_url: http://38.145.60.16/repo/rhel/ks/kvm-rhel-8-ext
ks_repo: http://38.145.60.16/repo/rhel/RHEL9-x86_64/
ks_url: http://38.145.60.16/repo/rhel/ks/kvm-rhel
sar_output_file: koji.json
#host_backup_targets: ['/git', '/mnt/fedora/app/attachments']

View file

@ -27,10 +27,8 @@
- srm # secure rm to delete sensitive files.
- ansible-core # This is our ansible master, needs ansible installed.
- ansible_utils # Needed for rbac-playbook
- yum-rhn-plugin # Needed for rhn sync
- createrepo_c # Needed for rhn sync
- ostree # Needed for rhn sync
- python2-sqlalchemy # Needed for repo2json
- bind # named-checkzone for dns repo
- emacs-nox
- nano
@ -49,42 +47,12 @@
- fedora-messaging # To send/receive messages on the amqp bus
- ansible-freeipa # For the IPA server configuration tasks
- python39-jmespath # for the copr playbooks
- rhel-system-roles # for networking
tags:
- batcave
- config
when: inventory_hostname.startswith('batcave01')
- name: install packages needed (rhel8)
package: name={{ item }} state=present
with_items:
- ansible-core # This is our ansible master, needs ansible installed.
- ansible_utils # Needed for rbac-playbook
- createrepo_c # Needed for rhn sync
- ostree # Needed for rhn sync
# - python2-sqlalchemy # Needed for repo2json
- bind # named-checkzone for dns repo
- emacs-nox
- nano
- rpm-sign # for the sign-and-import playbook
- createrepo # for the sign-and-import playbook
- unzip # general useful util
- fpaste # general useful util
- mtr # useful for network debugging
- lftp # needed to easily pull in builds from koji for internal repos
- git-email # needed to send patches for review to the mailing list
- python3-dns # needed to have ansible remove ip-based known_host entries
- libvirt-client # needed to allow migrations to be run from here.
- easy-rsa # For easy copying into ansible-private for certs.
- dnf # To get dnf reposync
- dnf-plugins-core # To get dnf reposync
- fedora-messaging # To send/receive messages on the amqp bus
- ansible-freeipa # For the IPA server configuration tasks
- python3-jmespath # for the copr playbooks
tags:
- batcave
- config
when: inventory_hostname.startswith('batcave02')
- name: setup ssh_known_hosts file
copy: src=ssh_known_hosts dest=/etc/ssh/ssh_known_hosts mode=0644
tags: