Update package list for Fedora 32 (#39)

* Add specific package lists for Fedora.

The python packages have been renamed in Fedora 32 (python3-* -> python-*).
To further support Fedora 31, the RedHat vars have been copied for this case.

* Enable molecule tests for Fedora.
This commit is contained in:
Jonas 2020-09-22 12:32:44 +02:00 committed by GitHub
parent e8b992fc1d
commit 54c270acdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 2 deletions

View File

@ -8,8 +8,10 @@ platforms:
image: centos:7 image: centos:7
- name: centos-latest - name: centos-latest
image: centos:latest image: centos:latest
# - name: fedora-latest # epel package not available - name: fedora-latest
# image: fedora:latest image: fedora:latest
- name: fedora-31
image: fedora:31
- name: debian-oldstable - name: debian-oldstable
image: debian:oldstable image: debian:oldstable
- name: debian-stable - name: debian-stable

View File

@ -2,7 +2,9 @@
- name: Include OS-specific variables - name: Include OS-specific variables
include_vars: "{{ item }}" include_vars: "{{ item }}"
with_first_found: with_first_found:
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml" - "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml" - "{{ ansible_os_family }}.yml"
- name: Run OS-specific setup - name: Run OS-specific setup

21
vars/Fedora-31.yml Normal file
View File

@ -0,0 +1,21 @@
---
borg_packages:
- libacl-devel
- libacl
- gcc
- gcc-c++
- openssl-devel
- python3-pip
- python3-wheel
- python3-devel
- python3-setuptools
- openssh-clients
- cronie
python_bin: python3
pip_bin: pip3
borg_python_packages:
- cython
- borgbackup
- borgmatic

21
vars/Fedora.yml Normal file
View File

@ -0,0 +1,21 @@
---
borg_packages:
- libacl-devel
- libacl
- gcc
- gcc-c++
- openssl-devel
- python-pip
- python-wheel
- python-devel
- python-setuptools
- openssh-clients
- cronie
python_bin: python
pip_bin: pip
borg_python_packages:
- cython
- borgbackup
- borgmatic