Git Product home page Git Product logo

infrastructure-playbook's Introduction

infrastructure-playbook

Ansible playbook for managing Galaxy infrastructure. For the playbook managing Galaxy itself, see galaxyproject/usegalaxy-playbook.

Be sure to clone recursively, this repo uses submodules for Galaxy's generalized trivial roles in ansible-common-roles.

To run

Set up pass and get the ansible-env function as documented on the usegalaxy-playbook wiki, then:

% ansible-galaxy role install -p roles -r requirements.yml
% ansible-galaxy collection install -p collections -r requirements.yml
% ansible-env <env> <playbook>

infrastructure-playbook's People

Contributors

dannon avatar hexylena avatar jmchilton avatar kysrpex avatar martenson avatar natefoo avatar tnabtaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infrastructure-playbook's Issues

Convert Docker role (and others) to new SSL role

At least the internal roles should switch to this. Trickier for the published roles since the SSL role isn't published and isn't quite as generalized as the others (or rather, we don't necessarily want people to be required to use our SSL role if they want to enable SSL when using our nginx role - but maybe that's ok).

Setup infrastructure for containerized tool execution for insecure tools.

Someday we should be running all tools this way, and when we have to disable tools for security problems it would be good to have a Dockerized destination we could send them to in order to keep them in the tool panel.

  • SLURM worker node needs to have a Docker service running.
  • Add <param id="docker_enable">True</param> to the destination for the tool.
  • Use <param id="docker_container_id_override">XXX</param> to hardcode the image ID at first to use for the tool - the images will likely all exist on quay.io. Longer term we can let Galaxy find the image ID from the requirements but this reduces potential problems until we get things robust and running.

Alternatively we could use Singularity. I can provide instructions for that as well.

Deposit periodic gx-admin reports somewhere...

I added some queries to gx-admin to try to figure out what tools are broken, but we never figured out how to get them into Grafana.

These include:

It would be cool to run these periodically and make the results available somewhere. Grafana would be good but I really like Alex's approach of depositing things to Github also:

This would be pretty open and pretty ideal for reasoning about tools. An arbitrary static site with index available would be totally fine also.

Another useful query I'd like to deposited somewhere would be:

add global grunt-cli to n2

I had to run npm install -g grunt-cli manually in order to get qunit tests working; this needs to be added to ansible

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.