Drop support for Fedora 28 and add Fedora 30 and 31 (#5969)

This commit is contained in:
Maxime Guyot
2020-04-18 15:35:36 +02:00
committed by GitHub
parent 56a9c7a802
commit 3134dd4c0d
10 changed files with 77 additions and 28 deletions

View File

@@ -29,19 +29,17 @@
- http_proxy is defined
- need_http_proxy.rc != 0
# Fedora's policy as of Fedora 30 is to still install python2 as /usr/bin/python
# See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 for the current status
- name: Install python on fedora
raw: "dnf install --assumeyes --quiet python2"
- name: Install python3 on fedora
raw: "dnf install --assumeyes --quiet python3"
become: true
environment: {}
when:
- need_bootstrap.rc != 0
# libselinux-python is required on SELinux enabled hosts
# libselinux-python3 is required on SELinux enabled hosts
# See https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#managed-node-requirements
- name: Install libselinux-python
- name: Install libselinux-python3
package:
name: libselinux-python
name: libselinux-python3
state: present
become: true