Skip to content

Commit

Permalink
move tmp to /slurmdb and rename a tmp dir creation task
Browse files Browse the repository at this point in the history
  • Loading branch information
martbhell committed Dec 2, 2015
1 parent 1ab7f80 commit 6596d69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ slurm_version: "15.08.3"
slurm_type: ""
slurm_build: False
slurm_log_dir: "/var/log/slurm"
slurm_tmp_dir: "/var/tmp/slurmd"
slurm_tmp_dir: "/slurmdb/tmp/slurmd"
slurmd_tmp_dir: "{{ slurm_tmp_dir }}"
slurm_state_dir: "/tmp/slurmstate"
slurm_state_dir: "/slurmdb/tmp"
##
slurm_service_node: "{{ hostvars[groups['slurm_service'][0]]['ansible_hostname'] }}"
slurm_clustername: "{{ siteName | default('test_cluster')}}"
Expand Down
2 changes: 1 addition & 1 deletion tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- name: add slurm tmp dir
file: "path={{ slurmd_tmp_dir }} state=directory owner=slurm group=slurm mode=0750"

- name: add slurm tmp dir
- name: add slurm state dir
file: "path={{ slurm_state_dir }} state=directory owner=slurm group=slurm mode=0750"


0 comments on commit 6596d69

Please sign in to comment.