Skip to content
Snippets Groups Projects
Commit f14d5028 authored by Chris Hines's avatar Chris Hines
Browse files

allow slurm to create a cluster if it doesn't exit, and not fail if it does

parent 15c29c28
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@
- name: "create cluster in slurm db"
shell: "{{slurm_dir}}/bin/sacctmgr -i create cluster {{ clustername }}"
sudo: true
ignore_errors: true
- name: start slurmctl
service: name=slurmctld state=started enabled=yes
......
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