Skip to content

grycap/ansible-role-galaxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License
CI

Galaxy Portal Role

Install Galaxy Portal.

Role Variables

The variables that can be passed to this role and a brief description about them are as follows.

# Galaxy node type: portal or wn
galaxy_node_type: portal
# Type of LRMS to use (Currently only supported local, slurm or torque)
galaxy_lrms: local
# E-mail of the admin user
galaxy_admin: [email protected]
# Password of the admin user
galaxy_admin_password: adminpass
# API key for admin user
galaxy_admin_api_key: not_very_secret_api_key
# User to launch the Galaxy portal
galaxy_user: galaxy
# User ID to assing to the galaxy user
GALAXY_USER_ID: 1450
# Password to assing to the user (galaxy+00)
# See http://docs.ansible.com/ansible/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module for more info
GALAXY_USER_PASSWORD: $6$d6becl8ohu0F4$Pzf2NIrfhGVvoGzaqf6aPEDhYi5ZTbmujF0oGv7qGNxXwHOKqfehm197YzEGZqJ4lwxDL5jWU6goqeaMHic3s0
# Password used to derive a munge key for authentication between the server and the workers.
galaxy_munge_key_password: ''
# Slurm server name
galaxy_slurm_server_name: slurmserver
# Galaxy export dir
galaxy_export_dir: /mnt/export
# Version of the Galaxy portal docker image to use
galaxy_image_version: "24.1"
# ENV variables for the Docker Galaxy
galaxy_docker_env_vars:
	USE_HTTPS: "True"
	GALAXY_CONFIG_BRAND: "Galaxy"
	NONUSE: "reports,slurmd,slurmctld,nodejs,condor"
	GALAXY_LOGGING: "full"
	DOCKER_PARENT: "True"
	GALAXY_CONFIG_HOST: "0.0.0.0"
	GALAXY_DEFAULT_ADMIN_USER: "{{galaxy_admin}}"
	GALAXY_DEFAULT_ADMIN_PASSWORD: "{{galaxy_admin_password}}"
	GALAXY_DEFAULT_ADMIN_KEY: "{{galaxy_admin_password}}"
	GALAXY_CONFIG_ADMIN_USERS: "{{galaxy_admin}}"
	GALAXY_CONFIG_MASTER_API_KEY: "{{galaxy_admin_api_key}}"
	GALAXY_DESTINATIONS_DEFAULT: "local_no_container"
	GALAXY_RUNNERS_ENABLE_SLURM: "False"
	GALAXY_RUNNERS_ENABLE_K8: "False"
	GALAXY_RUNNERS_ENABLE_PBS: "False"

# ENV variables for the Docker Galaxy in case of using slurm
slurm_galaxy_docker_env_vars:
	NONUSE: "reports,slurmctld,slurmd,nodejs,condor"
	GALAXY_DESTINATIONS_DEFAULT: "slurm_cluster"
	GALAXY_RUNNERS_ENABLE_SLURM: "True"

galaxy_docker_volumes:
  - "/var/run/docker.sock:/var/run/docker.sock"
  - "{{galaxy_export_dir}}:/export/"
  - "/etc/nginx/nginx.conf:/etc/nginx/nginx.conf"
  - "/etc/nginx/uwsgi.conf:/etc/nginx/conf.d/uwsgi.conf"

slurm_galaxy_docker_volumes:
  - "{{galaxy_export_dir}}/slurm.conf:/etc/slurm-llnl/slurm.conf"

Example Playbook

This an example of how to install the Galaxy portal:

- hosts: servers
  roles:
     - { role: grycap.galaxy  }

About

Ansible Role to install the Galaxy Portal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages