-
Notifications
You must be signed in to change notification settings - Fork 18
/
dev-handler_playbook.yml
69 lines (68 loc) · 1.89 KB
/
dev-handler_playbook.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
66
67
68
- hosts: dev_handlers_server
become: true
vars_files:
- group_vars/all.yml
- group_vars/dev.yml # machine_users overridden in this file
- group_vars/VAULT
- group_vars/galaxyservers.yml
- group_vars/dev_slurm.yml
- host_vars/dev.gvl.org.au.yml
- host_vars/dev-handlers.gvl.org.au.yml
- secret_group_vars/ubuntu_maintenance_key
- secret_group_vars/stats_server_vault
- secret_group_vars/dev_secrets
- secret_group_vars/sentry_vault
pre_tasks:
- name: create dir for gravity configuration
file:
state: directory
path: /opt/galaxy
owner: root
group: galaxy
mode: 0775
- name: create dir for galaxy's singularity cache # this is still on the root disk, it's a test of moving the singularity cache
file:
state: directory
path: "{{ item }}"
owner: galaxy
group: galaxy
mode: 0700
with_items:
- "{{ galaxy_user_singularity_cachedir }}"
- "{{ galaxy_user_singularity_tmpdir }}"
roles:
- galaxyproject.repos
- common
- mounts
# - install-tpv
- geerlingguy.pip
- gantsign.golang
- cyverse-ansible.singularity
- galaxyproject.galaxy
# - role: galaxyproject.miniconda
# become: true
# become_user: galaxy
- galaxyproject.nginx
- nginx-upload-module
- galaxyproject.tusd
- galaxyproject.slurm
- galaxyproject.cvmfs
- galaxyproject.gxadmin
- pg-post-tasks
- postfix-mail-relay
- geerlingguy.docker
- usegalaxy_eu.gie_proxy
- dj-wasabi.telegraf
- usegalaxy_eu.flower
- acl-on-startup
post_tasks:
- name: Make local_tool directory group-writable by machine users
file:
path: /mnt/galaxy/local_tools
owner: root
group: devs
mode: 0775
state: directory
- name: Install slurm-drmaa
package:
name: slurm-drmaa1