-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgalaxyserver.yml
53 lines (53 loc) · 2.11 KB
/
galaxyserver.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
- hosts: all
vars:
#galaxy_server_dir: "{{ ansible_env.HOME }}/galaxy"
galaxy_server_dir: "/home/vagrant/galaxy"
galaxy_config_dir: "{{ galaxy_server_dir }}/config"
galaxy_mutable_config_dir: "{{ galaxy_config_dir }}"
galaxy_vcs: git
galaxy_fetch_dependencies: yes
galaxy_fetch_eggs: yes
galaxy_manage_static_setup: yes
galaxy_manage_mutable_setup: no
galaxy_manage_database: no
# galaxy_config_dir: /opt/galaxy/config
# galaxy_mutable_config_dir: /var/opt/galaxy/config
# galaxy_mutable_data_dir: /var/opt/galaxy/data
# galaxy_repo: https://bitbucket.org/galaxy/galaxy-central/
# galaxy_repo: https://github.com/galaxyproject/galaxy
galaxy_changeset_id: release_19.05
galaxy_config:
"server:main":
"host": "0.0.0.0"
"app:main":
job_working_directory: "{{ galaxy_config_dir }}/job_working_directory"
tool_config_file: "{{ galaxy_config_dir }}/tool_conf.xml,{{ galaxy_shed_tool_conf_file }}"
tool_sheds_config_file: "{{ galaxy_config_dir }}/tool_sheds_conf.xml"
master_api_key: "admin"
# tool_dependency_dir: "/deps"
admin_users: "[email protected]"
conda_auto_init: True
conda_auto_install: True
dependency_resolvers_config_file: "{{ galaxy_config_dir }}/dependency_resolvers_conf.xml"
pre_tasks:
- name: Install Debian prerequisites
apt: pkg={{ item }} state=installed
become: yes
when: ansible_os_family == 'Debian'
with_items:
- git
- python-virtualenv
- m4 # Gi: I can't remember which tool need it -> TODO: build a Galaxy package
- unzip # Gi: R need it to extract archive -> TODO: build a Galaxy package
- name: Install RedHat prerequisites
yum: pkg={{ item }} state=installed
become: yes
when: ansible_os_family == 'RedHat'
with_items:
- git
- python-virtualenv
- m4 # Gi: I can't remember which tool need it -> TODO: build a Galaxy package
- unzip # Gi: R need it to extract archive -> TODO: build a Galaxy package
roles:
- role: ../roles/ansible-galaxy
become: no