Add Centos-8 support

We shouldn't need this anymore since interpreter patch has been merged
https://review.opendev.org/#/q/topic:interpreter+(status:open+OR+status:merged)

Change-Id: Ibc8c9b92c8c3c705964fbc85019b357913583ca7
This commit is contained in:
root 2020-06-17 01:17:34 -04:00 committed by Dmitriy Rabotyagov
parent 682f65d8ba
commit 842c899d8e
2 changed files with 4 additions and 6 deletions

View File

@ -29,8 +29,6 @@
dest: "/var/tmp/openstack-nova-key.sh"
mode: "0755"
delegate_to: localhost
vars:
ansible_python_interpreter: "/usr/bin/python"
when:
- inventory_hostname == first_available_compute
tags:

View File

@ -32,9 +32,9 @@ nova_service_distro_packages:
- openstack-nova-api
- openstack-nova-conductor
- openstack-nova-scheduler
- python-memcached
- python2-PyMySQL
- systemd-python
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python-memcached', 'python3-memcached') }}"
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python2-PyMySQL', 'python3-PyMySQL') }}"
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('systemd-python', 'python3-systemd') }}"
nova_service_extra_distro_packages:
kvm:
@ -52,7 +52,7 @@ nova_compute_packages:
- genisoimage
- kpartx
- nc
- python-libguestfs
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python-libguestfs', 'python3-libguestfs') }}"
- sysfsutils
nova_compute_barbican_distro_packages: