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
4
.github/workflows/main.yml
vendored
4
.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
|
||||
@ -18,4 +18,4 @@ jobs:
|
||||
# - name: Debugging with tmate
|
||||
# uses: mxschmitt/action-tmate@v3.5
|
||||
- name: Test using Molecule
|
||||
run: molecule test
|
||||
run: molecule test
|
||||
|
@ -14,9 +14,9 @@ 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; \
|
||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||
elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates iproute2 && xbps-remove -O; fi
|
||||
elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates iproute2 && xbps-remove -O; fi
|
||||
|
@ -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
|
||||
@ -23,4 +25,4 @@ verifier:
|
||||
lint: |
|
||||
set -e
|
||||
yamllint .
|
||||
ansible-lint .
|
||||
ansible-lint .
|
||||
|
Loading…
Reference in New Issue
Block a user