Skip to content
Snippets Groups Projects
Commit ab5aac15 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

for sacctmgr to work we need a slurm.conf which computenodes only get after...

for sacctmgr to work we need a slurm.conf which computenodes only get after initializing. this is not needed for this taks and therefore it is sufficient that only the slurmctld master reates a DB
parent 645dbfd8
No related branches found
No related tags found
1 merge request!460Upcoming maintenance
......@@ -112,9 +112,11 @@
register: slurm_cluster_count
check_mode: no
changed_when: false
when: slurmctrl == inventory_hostname
- debug:
var: slurm_cluster_count
when: slurmctrl == inventory_hostname
- name: "create cluster in slurm db" #needs munge to run
shell: "{{ slurm_dir }}/bin/sacctmgr -i create cluster {{ clustername }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment