Assume centos version is at least 8.3

Removing this check allows the same code to work on centos-8 stream
where the version is reported just as '8'.

Change-Id: Icc608500a099f51e5c44cecd1d259ff6315758f7
This commit is contained in:
Jonathan Rosser 2021-02-17 13:19:35 +00:00
parent 9c585b7257
commit 588f4ae719
2 changed files with 9 additions and 3 deletions

View File

@ -0,0 +1,9 @@
---
upgrade:
- |
In order to accomodate Centos-8 Stream support, it is necessary require
the minimum version of Centos-8 Classic to be 8.3. There are breaking
changes between Stream and Classic versions prior to 8.3 which break
ansible code that detects major/minor versions of Centos. Before
upgrading to Wallaby, deployers should ensure that their Centos hosts
are updated to 8.3.

View File

@ -40,11 +40,8 @@ openstack_host_kernel_modules:
- name: ip_vs
- name: iscsi_tcp
- name: nf_conntrack
- name: "{{ ansible_facts['distribution_version'] is version('8.3', '<') | ternary('nf_conntrack_ipv4', '') }}"
- name: "{{ ansible_facts['distribution_version'] is version('8.3', '<') | ternary('nf_conntrack_ipv6', '') }}"
- name: nf_defrag_ipv4
- name: nf_nat
- name: "{{ ansible_facts['distribution_version'] is version('8.3', '<') | ternary('nf_nat_ipv4', '') }}"
- name: vhost_net
## Base packages