Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ansible version in test #48

Merged
merged 5 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
strategy:
matrix:
distro:
- rockylinux8
- rockylinux9
- ubuntu2204
- ubuntu2404
Expand All @@ -37,7 +36,7 @@ jobs:
python-version: '3.x'

- name: Install test dependencies.
run: pip3 install ansible molecule-plugins[docker] docker
run: pip3 install requests==2.31.0 ansible==8.7.0 molecule-plugins[docker] docker

- name: Run Molecule tests.
run: molecule test --all
Expand Down
1 change: 0 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
install_from_source: false
when: >
(slurm_version is version('23.11.0', '>=') and ansible_distribution_version >= "20.04") or
(slurm_version == "23.02.6" and ansible_distribution_version == "24.04") or
(slurm_version == "21.08.5" and ansible_distribution_version == "22.04") or
(slurm_version == "19.05.5" and ansible_distribution_version == "20.04") or
(slurm_version == "17.11.2" and ansible_distribution_version == "18.04")
Expand Down
Loading