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 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 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: