-
Notifications
You must be signed in to change notification settings - Fork 7
/
galaxy.yml
65 lines (64 loc) · 1.92 KB
/
galaxy.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
- hosts: dbservers
become: true
become_user: root
pre_tasks:
- name: Install Dependencies
package:
name: 'acl'
roles:
- galaxyproject.postgresql
- role: galaxyproject.postgresql_objects
become: true
become_user: postgres
- hosts: galaxyservers
become: true
become_user: root
vars_files:
- group_vars/secret.yml
pre_tasks:
- name: Install Dependencies
package:
name: ['acl', 'bzip2', 'git', 'make', 'tar', 'python3-venv', 'python3-setuptools']
- name: Install RHEL/CentOS/Rocky specific dependencies
package:
name: ['tmpwatch']
when: ansible_os_family == 'RedHat'
- name: Install Debian/Ubuntu specific dependencies
package:
name: ['tmpreaper']
when: ansible_os_family == 'Debian'
- git:
repo: 'https://github.com/usegalaxy-eu/libraries-training-repo'
dest: /libraries/
roles:
- galaxyproject.tusd
- galaxyproject.repos
- galaxyproject.slurm
- usegalaxy_eu.apptainer
- galaxyproject.galaxy
- usegalaxy_eu.tpv_auto_lint
- role: galaxyproject.miniconda
become: true
become_user: "{{ galaxy_user_name }}"
- geerlingguy.redis
- usegalaxy_eu.flower
- galaxyproject.nginx
- galaxyproject.proftpd
- geerlingguy.docker
- usegalaxy_eu.rabbitmqserver
- galaxyproject.tiaas2
- galaxyproject.gxadmin
- galaxyproject.cvmfs
- dj-wasabi.telegraf
post_tasks:
- name: Setup gxadmin cleanup task
ansible.builtin.cron:
name: "Cleanup Old User Data"
user: galaxy # Run as the Galaxy user
minute: "0"
hour: "0"
job: "SHELL=/bin/bash source {{ galaxy_venv_dir }}/bin/activate && GALAXY_LOG_DIR=/tmp/gxadmin/ GALAXY_ROOT={{ galaxy_root }}/server GALAXY_CONFIG_FILE={{ galaxy_config_file }} /usr/local/bin/gxadmin galaxy cleanup 60"
- name: Install slurm-drmaa
package:
name: slurm-drmaa1