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 install in RockyLinux 9 #40

Merged
merged 4 commits into from
Dec 4, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: sudo printf '[defaults]\nhost_key_checking = False\nroles_path=../' > ansible.cfg

- name: Install role dependencies
run: sudo ansible-galaxy install geerlingguy.ntp grycap.munge grycap.ssh
run: sudo ansible-galaxy install geerlingguy.ntp grycap.munge grycap.ssh -f

- name: Basic role syntax check
run: sudo ansible-playbook tests/test.yml -i tests/inventory --syntax-check
Expand All @@ -44,4 +44,4 @@ jobs:
run: sudo ansible-playbook tests/test.yml -i tests/inventory -e slurm_type_of_node=wn

- name: Idempotence role check in wn
run: sudo ansible-playbook tests/test.yml -i tests/inventory -e slurm_type_of_node=wn
run: sudo ansible-playbook tests/test.yml -i tests/inventory -e slurm_type_of_node=wn
2 changes: 2 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
galaxy_info:
role_name: slurm
namespace: grycap
author: [email protected]
description: Install SLURM cluster
company: GRyCAP
Expand Down
4 changes: 4 additions & 0 deletions tasks/RedHat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
- name: Add GRyCAP Repo
get_url: url="http://ftpgrycap.i3m.upv.es/centos/{{ansible_distribution_major_version}}/grycap.repo" dest=/etc/yum.repos.d/grycap.repo

- name: Enable CRB repo
command: dnf config-manager --enable crb
when: ansible_distribution_major_version|int >= 9

- name: Install rpm slurm packages (common for versions 17.11 and beyond)
yum:
name:
Expand Down
Loading