[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: I296dd05d675cc23f1aebe606edf5e175fa4b6208
This commit is contained in:
Mohammed Naser 2019-05-09 23:37:12 -04:00
parent 8b382ad08f
commit c56a5253f2
1 changed files with 3 additions and 7 deletions

View File

@ -40,8 +40,8 @@ openstack_host_kernel_modules:
- name: ip_vs
- name: iscsi_tcp
- name: nf_conntrack
- name: nf_conntrack_ipv4
- name: nf_conntrack_ipv6
- name: "{% if hostvars[inventory_hostname]['ansible_kernel'] | version_compare('4.19', '<=') %}nf_conntrack_ipv4{% endif %}"
- name: "{% if hostvars[inventory_hostname]['ansible_kernel'] | version_compare('4.19', '<=') %}nf_conntrack_ipv6{% endif %}"
- name: nf_defrag_ipv4
- name: nf_nat
- name: nf_nat_ipv4
@ -54,6 +54,7 @@ _openstack_host_distro_packages:
## Bare metal base packages
_openstack_host_metal_distro_packages:
- bridge-utils
- cronie
- curl
- device-mapper-event
- dstat
@ -100,11 +101,6 @@ _package_list:
state: absent
_package_repos:
- name: extras
file: CentOS-Base
description: "CentOS-$releasever - Extras"
baseurl: "{{ openstack_hosts_centos_mirror_url }}/7/extras/$basearch/"
gpgcheck: yes
- name: rdo-qemu-ev
file: rdo
description: "RDO CentOS-$releasever - QEMU EV"