Browse Source

Added cgroup.conf and gres.conf.

pull/11/head
Egon Rijpkema 3 years ago
parent
commit
a8656918f8
  1. 4
      hosts
  2. 10
      roles/slurm-client/tasks/main.yml

4
hosts

@ -9,7 +9,6 @@ pg-login @@ -9,7 +9,6 @@ pg-login
[compute_node]
pg-node[004:225]
pg-node[230:234]
[compute004-050]
pg-node[004:050]
@ -97,3 +96,6 @@ dh-node[03:20] @@ -97,3 +96,6 @@ dh-node[03:20]
[gelifes-nodes]
pg-node[211:225]
[merlin-nodes]
pg-node[230:234]

10
roles/slurm-client/tasks/main.yml

@ -36,13 +36,17 @@ @@ -36,13 +36,17 @@
- restart_slurmd
become: true
- name: Deploy slurm.conf
- name: Deploy slurm config files.
template:
src: roles/slurm-management/files/slurm.conf
dest: /etc/slurm/slurm.conf
src: roles/slurm-management/files/{{ item }}
dest: /etc/slurm/{{ item }}
owner: root
group: root
mode: 0644
with_items:
- slurm.conf
- gres.conf
- cgroup.conf
notify:
- reload_slurmd
become: true

Loading…
Cancel
Save