A ready-to-use Ansible playbook for the Galaxy Tools role
Clone or download
Latest commit 166192e Mar 1, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files Rename sample tools file to avoid conflict with the default variable … Jun 8, 2016
LICENSE Initial commit Aug 17, 2015
README.md Update README Mar 1, 2017
requirements_roles.yml Remove submodule dependency on the tools role Sep 9, 2016
tools.yml Update README Sep 9, 2016

README.md

A ready-to-use Ansible playbook for the Galaxy Tools role.

Before you can use this playbook, you need to install Ansible (version 2.1.2.0+ is required). Note that for the time being, this playbook does not work with Python 3.x.

$ pip install ansible virtualenv

To use, clone this repo and provide a list of tools to install. A sample file if provided in files/sample_tool_list.yaml. , run the playbook:

$ git clone https://github.com/afgane/galaxy-tools-playbook.git
$ cd galaxy-tools-playbook && ansible-galaxy install -f -r requirements_roles.yml -p roles
# Provide a list of tools in files/sample_tool_list.yaml
# Edit tools.yml if you're not targeting Galaxy on localhost:8080
$ ansible-playbook tools.yml -i "localhost," --extra-vars galaxy_tools_api_key=<Admin user API key>

In addition to the output from running the playbook, the installation script will log it's progress in /tmp/galaxy_tool_install.log.

The default settings will run the playbook for an installation of Galaxy on your local machine. To target a different instance of Galaxy, edit tools.yml and set a URL to the Galaxy instance. You can also set the API key there not to have to provide it on the command line.

Updates

To update the version of the galaxy-tools role, run the following command ansible-galaxy install -f -r requirements_roles.yml -p roles