[redhat] Update variables to be version agnostic

The RedHat-based operating systems such as CentOS have a pretty
stable list of packages, therefore, we don't need to pin it by
version and we can instead move to a much more generic redhat.yml
which will support a bigger range of systems.

Change-Id: I5eaa3cb6b3bcae96ff8ebebb368eb4a6fdfd1bae
This commit is contained in:
Mohammed Naser 2019-05-10 00:30:48 -04:00 committed by Dmitriy Rabotyagov
parent 38a4bbf6e6
commit 83ddd84d90
1 changed files with 4 additions and 5 deletions

View File

@ -23,7 +23,6 @@ nova_distro_packages:
- genisoimage
- git
- iptables
- python-openstackclient
nova_devel_distro_packages:
- libxml2-devel
@ -67,17 +66,17 @@ nova_compute_kvm_distro_packages:
- libvirt-daemon-driver-qemu
- libvirt-client
- nc
- qemu-kvm-ev
- "qemu-kvm{% if ansible_distribution_major_version|int <= 7 %}-ev{% endif %}"
- libvirt-python
- nfs-utils
- python-libguestfs
- qemu-img-ev
- "qemu-img{% if ansible_distribution_major_version|int <= 7 %}-ev{% endif %}"
- sysfsutils
- "{{ (ansible_architecture == 'aarch64') | ternary('AAVMF', 'OVMF') }}"
nova_compute_kvm_packages_to_symlink:
- libvirt-python
- python-libguestfs
- "{% if ansible_distribution_major_version|int <= 7 %}libvirt-python{% else %}python2-libvirt{% endif %}"
- "python{% if ansible_distribution_major_version|int > 7 %}2{% endif %}-libguestfs"
nova_compute_ksm_packages:
- ksmtuned