mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
Fix for Debian 11 (#76)
* Fix for Debian 11 install * Pin CentOS version * Bump Python version
This commit is contained in:
parent
81a3f1106e
commit
10ed2c3f44
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: 3.8
|
||||
- name: Install Molecule
|
||||
run: |
|
||||
pip install -U pip setuptools wheel
|
||||
|
@ -14,7 +14,7 @@ ENV {{ var }} {{ value }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates iproute2 python-apt aptitude && apt-get clean; \
|
||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates iproute2 python3-apt aptitude && apt-get clean; \
|
||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install /usr/bin/python3 /usr/bin/python3-config /usr/bin/dnf-3 sudo bash iproute && dnf clean all; \
|
||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y /usr/bin/python /usr/bin/python2-config sudo yum-plugin-ovl bash iproute && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml iproute2 && zypper clean -a; \
|
||||
|
@ -6,12 +6,14 @@ driver:
|
||||
platforms:
|
||||
- name: centos-7
|
||||
image: centos:7
|
||||
- name: centos-latest
|
||||
image: centos:latest
|
||||
- name: centos-8
|
||||
image: centos:8
|
||||
- name: fedora-latest
|
||||
image: fedora:latest
|
||||
- name: debian-stable
|
||||
image: debian:stable
|
||||
- name: debian-bullseye
|
||||
image: debian:bullseye
|
||||
- name: debian-buster
|
||||
image: debian:buster
|
||||
- name: ubuntu-bionic
|
||||
image: ubuntu:bionic
|
||||
- name: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user