laniakea.galaxy
Laniakea Galaxy
This is an Ansible role used to install Galaxy version 23.0, utilizing roles from the Galaxy community.
Requirements
You will need the following roles:
- galaxyproject.galaxy version 0.10.14
- galaxyproject.nginx version 0.7.1
- galaxyproject.postgresql version 1.1.2
- galaxyproject.postgresql_objects version 1.2.0
- geerlingguy.pip version 2.0.0
- galaxyproject.miniconda version 0.3.1
- usegalaxy_eu.certbot version 0.1.11
- galaxyproject.tusd version 0.0.1
- galaxyproject.cvmfs version 0.2.14
Ansible Version
Tested with: Ansible version 4.10.0 and Ansible core version 2.11.12
Tasks
The main.yml
file contains all the necessary sub-roles.
The pre_tasks.yml
file contains OS-specific tasks for CentOS 7 or Rocky Linux 9.
Variables
- Laniakea variables can be found in
vars/main.yml
- Default variables (like admin info and paths) are in
defaults/mail.yml
- Role-specific variables are located in the task files:
- PostgreSQL:
tasks/postgresql_objects.yml
- NGINX:
tasks/nginx.yml
- Galaxy:
tasks/install_galaxy_role_vars.yml
- TUSD:
tasks/tusd.yml
, and partially intasks/install_galaxy_role_vars.yml
- PostgreSQL:
Local Test Execution
# on a fresh VM
# install requirements
sudo yum install -y git pip vim
pip install ansible==4.10.0 ansible-core==2.11.12
# clone the repository
git clone <repo_path>
# copy the test playbook
cp ansible-role-laniakea-galaxy/tests/test.yml test.yml
# update the hostname and Ansible user
vim inventory
ansible-galaxy install -r ansible-role-laniakea-galaxy/requirements.yml
cd ../
# run the playbook
ansible-playbook -i ansible-role-laniakea-galaxy/inventory test.yml
Logs:
- Gravity log files are located at:
<galaxy_install_path>/var/gravity/log/
(default path is/home/galaxy/galaxy/var/gravity/log/
), including logs for:- gunicorns
- handlers
- celery
- tusd
- interactive tools (if enabled)
- To view all Galaxy logs, use:
sudo journalctl -u galaxy
(these come from supervisor and are located at/home/galaxy/galaxy/var/gravity/supervisor/supervisord.log
)
Example Playbook
---
- hosts: galaxyservers
become: true
vars:
GALAXY_ADMIN_USERNAME: ""
GALAXY_ADMIN_PASSWORD: ""
GALAXY_ADMIN_API_KEY: ""
GALAXY_ADMIN_EMAIL: ""
roles:
- ansible-role-laniakea-galaxy
License
Apache License v2
Author Information
Pietro Mandreoli, email: pietro.mandreoli@unimi.it
Polina Khmelevskaia, email: khmelevskayapv@gmail.com
Informazioni sul progetto
Install Galaxy workflow manager (production environment) on Ubuntu + postresql, nginx, uwsgi, proftpd
Installa
ansible-galaxy install laniakea.galaxy
Licenza
Unknown
Download
487
Proprietario