From 28707c56582adfae81f7a014915aaa8e487a9ff8 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Mon, 4 Dec 2023 11:48:29 +0100 Subject: [PATCH 1/3] Fix install in RockyLinux 9 --- tasks/RedHat.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/RedHat.yaml b/tasks/RedHat.yaml index 9f00782..4a8b83d 100644 --- a/tasks/RedHat.yaml +++ b/tasks/RedHat.yaml @@ -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: From 555a75e9abe3d61a5f51743facbc6ab2cfb291b7 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Fernandez Date: Mon, 4 Dec 2023 14:02:19 +0100 Subject: [PATCH 2/3] Update main.yml --- meta/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/main.yml b/meta/main.yml index 6067ee0..78290a5 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,4 +1,6 @@ galaxy_info: + role_name: slurm + namespace: grycap author: alpegon3@upv.es description: Install SLURM cluster company: GRyCAP From 5021e8e86ad2121447a7c7c83993059c7cc7926d Mon Sep 17 00:00:00 2001 From: Miguel Caballer Fernandez Date: Mon, 4 Dec 2023 14:04:40 +0100 Subject: [PATCH 3/3] Update main.yaml --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6494aec..aa155d0 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 @@ -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 \ No newline at end of file + run: sudo ansible-playbook tests/test.yml -i tests/inventory -e slurm_type_of_node=wn