forked from usegalaxy-eu/infrastructure-playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
upload.yml
46 lines (44 loc) · 1.43 KB
/
upload.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
- name: Install and configure tusd
hosts: upload
become: true
become_user: root
vars:
upload_dir_test: /data/jwd/tus_upload/test
upload_dir_main: /data/jwd/tus_upload/main
tusd_instances:
- name: test_uploads
# user that tusd will run as
user: "{{ user_name }}"
# group that tusd will run as
group: "{{ user_group_name }}"
# args passed to tusd
args:
- -host=upload.galaxyproject.eu
- -port=1080
- "-upload-dir={{ upload_dir_test }}"
- -hooks-http=https://test.usegalaxy.eu/api/upload/hooks
- -hooks-http-forward-headers=X-Api-Key,Cookie
- name: main_uploads
# user that tusd will run as
user: "{{ user_name }}"
# group that tusd will run as
group: "{{ user_group_name }}"
# args passed to tusd
args:
- -host=upload.galaxyproject.eu
- -port=1081
- "-upload-dir={{ upload_dir_main }}"
- -hooks-http=https://usegalaxy.eu/api/upload/hooks
- -hooks-http-forward-headers=X-Api-Key,Cookie
roles:
- role: usegalaxy_eu.handy.os_setup
vars:
enable_remap_user: true
enable_create_user: true
enable_kernel_5: true
enable_install_software: true
- influxdata.chrony
## Filesystems
- usegalaxy-eu.autofs # Setup the mount points which will be needed later
- galaxyproject.tusd