Skip to content

Ansible playbooks for Galaxy servers used during Masters in Bioinformatics

License

Notifications You must be signed in to change notification settings

COMBAT-TB/masters_galaxy_ansible

 
 

Repository files navigation

Ansible for Galaxy servers for Masters project

Installing Ansible roles

To install all the roles in requirements.yml do:

ansible-galaxy install -p roles -r requirements.yml

Hashicorp vault

To get the vault token, ensure that vault is unsealed and on commander.sanbi.ac.za run:

VAULT_TOKEN=SuperSecretRootTokenInBitwarden VAULT_ADDR=https://commander.sanbi.ac.za:8200 vault token create -policy deploy

To use the Vault:

VAULT_TOKEN="blah" VAULT_ADDR="https://commander.sanbi.ac.za:8200" ansible-playbook -u ubuntu -i hosts galaxy.yml

The -i and -u might not be necessary if you have inventory and remote_user set in ansible.cfg.

Terraform configuration

The Terraform configuration dir contains Hashicorp Terraform configuration for creating the Galaxy server on the SANBI OpenStack cloud. Before using it, as much as possible of the infrastructure should be imported to the Terraform state file with terraform import. See the README in the Terraform directory for more info.

About

Ansible playbooks for Galaxy servers used during Masters in Bioinformatics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%