batcave: adjust packages for rhel9

This is for a test batcave02 for now, but will be used when we move
batcave01 over to rhel9

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-05-10 16:34:17 -07:00
parent c2cc0f4dfc
commit dc82b8da30
2 changed files with 33 additions and 1 deletions

View File

@ -52,6 +52,38 @@
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

View File

@ -150,7 +150,7 @@
- name: add infrastructure tags repo - RHEL
copy: src="{{ files }}/common/rhel-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo"
when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and ansible_distribution_major_version|int != 9)
when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS'))
tags:
- config
- packages