Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
|
d5d1d2e4dd | |
|
105436e80f | |
|
59700c8f1f | |
|
69ce0d8149 | |
|
f120430ad6 | |
|
adac76a28c | |
|
fcc23775fe |
|
@ -41,12 +41,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
distro:
|
||||
- rockylinux9
|
||||
- rockylinux8
|
||||
- fedora34
|
||||
- ubuntu2004
|
||||
- fedora39
|
||||
- ubuntu2204
|
||||
- debian11
|
||||
- ubuntu2004
|
||||
- debian12
|
||||
- debian11
|
||||
|
||||
steps:
|
||||
- name: Check out the codebase.
|
||||
|
|
|
@ -22,12 +22,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the codebase.
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: 'geerlingguy.pip'
|
||||
|
||||
- name: Set up Python 3.
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Available variables are listed below, along with default values (see `defaults/m
|
|||
|
||||
pip_package: python3-pip
|
||||
|
||||
The name of the packge to install to get `pip` on the system. For older systems that don't have Python 3 available, you can set this to `python-pip`.
|
||||
The name of the package to install to get `pip` on the system. For older systems that don't have Python 3 available, you can set this to `python-pip`.
|
||||
|
||||
pip_executable: pip3
|
||||
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
role_name_check: 1
|
||||
dependency:
|
||||
name: galaxy
|
||||
options:
|
||||
ignore-errors: true
|
||||
driver:
|
||||
name: docker
|
||||
platforms:
|
||||
- name: instance
|
||||
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
||||
image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux8}-ansible:latest"
|
||||
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
- name: Get python3 version installed
|
||||
ansible.builtin.command: python3 --version
|
||||
register: py3ver
|
||||
changed_when: false
|
||||
|
||||
- name: Remove EXTERNALLY-MANAGED
|
||||
ansible.builtin.file:
|
||||
|
|
|
@ -17,5 +17,5 @@
|
|||
virtualenv: "{{ item.virtualenv | default(omit) }}"
|
||||
state: "{{ item.state | default(omit) }}"
|
||||
extra_args: "{{ item.extra_args | default(omit) }}"
|
||||
executable: "{{ pip_executable }}"
|
||||
executable: "{{ item.virtualenv | default(false) | ternary(omit, pip_executable) }}"
|
||||
loop: "{{ pip_install_packages }}"
|
||||
|
|
Loading…
Reference in New Issue