Skip to content

Commit d75e16b

Browse files
authored
Merge pull request #68 from stackhpc/workflow-drop-older-ansible
feat: remove `ansible` `2.9` and `2.10` from test matrix
2 parents 103edc2 + d862a9e commit d75e16b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
ansible:
17-
- "2.9"
18-
- "2.10"
1917
- "2.12"
2018
steps:
2119
# Checks-out the repository under $GITHUB_WORKSPACE, so it's accessible to the job
@@ -25,16 +23,7 @@ jobs:
2523
run: |
2624
pipx uninstall ansible-core
2725
python3 -m pip install --upgrade pip
28-
ansible_version=${{ matrix.ansible }}
29-
if [[ "${{ matrix.ansible }}" = "2.9" ]]; then
30-
ansible_package=ansible
31-
elif [[ "${{ matrix.ansible }}" = "2.10" ]]; then
32-
ansible_package=ansible
33-
ansible_version=3
34-
else
35-
ansible_package=ansible-core
36-
fi
37-
python3 -m pip install $ansible_package==$ansible_version.* docker git+https://github.com/stackhpc/ansible-modules-hashivault@stackhpc
26+
python3 -m pip install ansible-core==${{ matrix.ansible }}.* docker git+https://github.com/stackhpc/ansible-modules-hashivault@stackhpc
3827
ansible-galaxy collection build
3928
ansible-galaxy collection install *.tar.gz
4029

0 commit comments

Comments
 (0)