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

alter the ownership on the directory where slurm stores its pid file

parent ec9c84b1
No related branches found
No related tags found
1 merge request!41alter the ownership on the directory where slurm stores its pid file
......@@ -30,11 +30,13 @@
- name: stat run directory
stat: path={{ slurmpiddir }}
become_user: root
become: True
register: runstat
when: slurmpiddir is defined
- name: create run directory
file: path={{ slurmpiddir }} state=directory owner=root group=root mode=750
file: path={{ slurmpiddir }} state=directory owner=slurm group=slurm mode=755
sudo: true
when: slurmpiddir is defined and not runstat.stat.exists
......
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