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

Merge branch 'provision_slurm' into 'master'

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

…d between managment nodes

See merge request !71
parents c18a887a 93ea99b1
No related branches found
No related tags found
1 merge request!71allow provision_slurm to take a path to the lockfile so its on a directory share…
...@@ -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