Skip to content
Snippets Groups Projects
Commit 492f7d68 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

Former-commit-id: c9fd0b1a
parents a77d7498 ee702f03
No related branches found
No related tags found
No related merge requests found
......@@ -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
- 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
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