Skip to content
Snippets Groups Projects
Commit 18789fd4 authored by Jupiter Hu's avatar Jupiter Hu
Browse files

clean up

parent 9146e994
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
shell: wget http://www.schedmd.com/download/archive/slurm-{{ slurm_version }}.tar.bz2 shell: wget http://www.schedmd.com/download/archive/slurm-{{ slurm_version }}.tar.bz2
args: args:
chdir: /tmp chdir: /tmp
# creates: /tmp/slurm-{{ slurm_version }}.tar.bz2 creates: /tmp/slurm-{{ slurm_version }}.tar.bz2
- name: untar slurm - name: untar slurm
shell: tar jxf /tmp/slurm-{{ slurm_version }}.tar.bz2 shell: tar jxf /tmp/slurm-{{ slurm_version }}.tar.bz2
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
shell: ./configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} && make shell: ./configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} && make
args: args:
chdir: /tmp/slurm-{{ slurm_version }} chdir: /tmp/slurm-{{ slurm_version }}
# creates: /tmp/slurm-{{ slurm_version }}/src/srun/srun creates: /tmp/slurm-{{ slurm_version }}/src/srun/srun
- name: install slurm - name: install slurm
shell: make install shell: make install
sudo: true sudo: true
args: args:
chdir: /tmp/slurm-{{ slurm_version }} chdir: /tmp/slurm-{{ slurm_version }}
# creates: "{{ slurm_dir }}/bin/srun" creates: "{{ slurm_dir }}/bin/srun"
- name: copy init script - name: copy init script
template: dest=/etc/init.d/slurm src=slurm.initd.j2 mode=755 template: dest=/etc/init.d/slurm src=slurm.initd.j2 mode=755
......
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