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

@ -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