From f14d5028d22d6c54ed1fe4abfd271c53abe7bbfd Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Fri, 30 Oct 2015 10:02:10 +1100 Subject: [PATCH] allow slurm to create a cluster if it doesn't exit, and not fail if it does --- roles/slurm-start/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/slurm-start/tasks/main.yml b/roles/slurm-start/tasks/main.yml index f71f569..3f7ba6f 100644 --- a/roles/slurm-start/tasks/main.yml +++ b/roles/slurm-start/tasks/main.yml @@ -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 -- GitLab