Commit e1637ac1 authored by jkvis's avatar jkvis

Updated for new MM exports

parent 6d3b9049
......@@ -168,3 +168,19 @@
fstype: nfs
opts: rw,hard,intr,rsize=32768,wsize=32768,tcp,vers=3,noatime
state: mounted
- name: mount metapath storage
mount:
name: /data/DIV5/metapath
src: hpc-cluster.research-isilon.researchlumc.nl:/ifs/exports-shark/data/metapath-lumc/transfer
fstype: nfs
opts: rw,hard,intr,rsize=32768,wsize=32768,tcp,vers=3,noatime
state: mounted
#- name: mount metapath LTstorage
# mount:
# name: /data/LTS/DIV5/metapath
# src: research-lts1.isi-lts1.researchlumc.nl:/ifs/RESEARCH-RESOURCE/mirror/metapath-lumc-archive/transfer
# fstype: nfs
# opts: rw,hard,intr,rsize=32768,wsize=32768,tcp,vers=3,noatime
# state: mounted
......@@ -246,3 +246,29 @@
mode: 0770
state: directory
when: transfer_capture_gs_mount_point.stat.exists == False
- name: Transfer Server | Test whether the metapath mount point exists
stat: path="/data/DIV5/metapath"
register: transfer_metapath_mount_point
- name: Transfer Server | Make the metapath mount point
file:
path: "/data/DIV5/metapath"
owner: root
group: root
mode: 0770
state: directory
when: transfer_metapath_mount_point.stat.exists == False
- name: Transfer Server | Test whether the metapath LTS mount point exists
stat: path="/data/LTS/DIV5/metapath"
register: transfer_metapath_lts_mount_point
- name: Transfer Server | Make the metapath LTS mount point
file:
path: "/data/LTS/DIV5/metapath"
owner: root
group: root
mode: 0770
state: directory
when: transfer_metapath_lts_mount_point.stat.exists == False
Markdown is supported
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