Compare commits

...

7 Commits

Author SHA1 Message Date
Jeff Geerling d5d1d2e4dd
Merge pull request #64 from dmotte/pr-fix-executable-virtualenv
Omit executable if item.virtualenv is defined
2024-03-09 13:59:21 -06:00
dmotte 105436e80f Omit executable if item.virtualenv is defined 2024-03-09 14:01:37 +01:00
Jeff Geerling 59700c8f1f Bump CI workflow versions. 2024-01-24 22:51:24 -06:00
Jeff Geerling 69ce0d8149 Getting a version number changes nothing. 2024-01-24 22:48:16 -06:00
Jeff Geerling f120430ad6 Make local dev with molecule a little easier. 2024-01-24 22:06:46 -06:00
Jeff Geerling adac76a28c
Merge pull request #63 from blakeashleyjr/patch-1
Update README.md to fix single-letter typo
2023-11-27 22:11:48 -06:00
Blake Ashley fcc23775fe
Update README.md to fix single-letter typo
Correct packge to package
2023-11-27 17:24:07 -08:00
6 changed files with 12 additions and 8 deletions

View File

@ -41,12 +41,13 @@ jobs:
strategy:
matrix:
distro:
- rockylinux9
- rockylinux8
- fedora34
- ubuntu2004
- fedora39
- ubuntu2204
- debian11
- ubuntu2004
- debian12
- debian11
steps:
- name: Check out the codebase.

View File

@ -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'

View File

@ -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

View File

@ -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

View File

@ -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:

View 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 }}"