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

allow provision_slurm to take a path to the lockfile so its on a directory...

allow provision_slurm to take a path to the lockfile so its on a directory shared between managment nodes


Former-commit-id: 93ea99b1
parent 4268beb4
No related branches found
No related tags found
No related merge requests found
...@@ -21,5 +21,5 @@ ...@@ -21,5 +21,5 @@
# the lockfile for makeing home directories should be located on the shared directory where the home directories will be created. Otherwise it will be racey # the lockfile for makeing home directories should be located on the shared directory where the home directories will be created. Otherwise it will be racey
- name: provision_slurm cron job - name: provision_slurm cron job
cron: name=provision_slurm job="/usr/bin/flock -x -n /home/provision.lck -c {{ provision_slurm }}" user=root minute=*/30 state=present cron: name=provision_slurm job="/usr/bin/flock -x -n {{ lockpath }}/slurm_provision.lck -c {{ provision_slurm }}" user=root minute=*/30 state=present
sudo: true sudo: true
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