Skip to content

Commit e010d51

Browse files
revert install method for ansible
1 parent 405482b commit e010d51

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/actions/ci-setup/action.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ runs:
1717
with:
1818
python-version: ${{ inputs.python-version }}
1919

20-
# - name: Install ansible-core (${{ inputs.ansible-version }})
21-
# shell: bash
22-
# run: |
23-
# pip install https://github.com/ansible/ansible/archive/${{ inputs.ansible-version }}.tar.gz --disable-pip-version-check
20+
- name: Install ansible-core (${{ inputs.ansible-version }})
21+
shell: bash
22+
run: |
23+
pip install https://github.com/ansible/ansible/archive/${{ inputs.ansible-version }}.tar.gz --disable-pip-version-check
2424
2525
- name: Install requirements for molecule tests
2626
shell: bash
2727
run: |
2828
pip uninstall molecule-vagrant --yes
29-
pip install ansible-core==${{ inputs.ansible-version }}
3029
pip install ansible-dev-tools pywinrm molecule molecule-plugins ansible-lint flake8 --disable-pip-version-check
3130
if [ -f requirements.txt ]; then pip install -r requirements.txt --disable-pip-version-check; fi

.github/workflows/ci-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
# python: '3.10'
5252
# - ansible: stable-2.14 # EOL 2024-05-20
5353
# python: '3.10'
54-
- ansible: "2.16.8"
54+
- ansible: stable-2.16 # EOL 2025-05 - last version to support Python <3.7
5555
python: "3.12"
5656
env:
5757
ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions

0 commit comments

Comments
 (0)