Commit ebea911b authored by Emmanuel Jaep's avatar Emmanuel Jaep
Browse files

remove scratch volume mount

parent 403cd1f5
......@@ -100,32 +100,32 @@
when: sso_already_configured.stat.exists == false
# Scratch
- name: check that the semaphore file exists (i.e. scratch is already configured)
ansible.builtin.stat:
path: /root/.scratch_already_configured
register: scratch_already_configured
- block:
- name: download the scratch creation script
get_url:
url: http://install.iccluster.epfl.ch/scripts/it/scratchVolume.sh
dest: /tmp/scratchVolume.sh
mode: 0755
- name: run the scratch creation script
shell: /tmp/scratchVolume.sh
- name: put in place the script to be run at next book
template:
src: rc.local
dest: /etc/rc.local
mode: 0755
- name: set the semaphore file to indicate that the scratch is already configured
file:
path: /root/.scratch_already_configured
state: touch
when: scratch_already_configured.stat.exists == false
# - name: check that the semaphore file exists (i.e. scratch is already configured)
# ansible.builtin.stat:
# path: /root/.scratch_already_configured
# register: scratch_already_configured
# - block:
# - name: download the scratch creation script
# get_url:
# url: http://install.iccluster.epfl.ch/scripts/it/scratchVolume.sh
# dest: /tmp/scratchVolume.sh
# mode: 0755
# - name: run the scratch creation script
# shell: /tmp/scratchVolume.sh
# - name: put in place the script to be run at next book
# template:
# src: rc.local
# dest: /etc/rc.local
# mode: 0755
# - name: set the semaphore file to indicate that the scratch is already configured
# file:
# path: /root/.scratch_already_configured
# state: touch
# when: scratch_already_configured.stat.exists == false
# ANACONDA
- name: check that the semaphore file exists (i.e. Anaconda is already installed)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment