Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labs engine playbook #2339

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

neoformit
Copy link
Collaborator

@neoformit neoformit commented Jan 14, 2025

Add a playbook for deploying the labs engine to dev and prod servers:

ansible-playbook -i hosts --key-file ~/.ssh/galaxy-au labs_engine_prod.yml

ansible-playbook -i hosts --key-file ~/.ssh/galaxy-au labs_engine_dev.yml

This can't be run until a new Labs Engine VM has been created in AARNet.

Introduces the following vars to the VAULT:

vault_labs_admin_email
vault_labs_admin_password
vault_labs_django_secret_key
vault_labs_smtp_username
vault_labs_smtp_password
vault_labs_github_api_token
vault_labs_slack_api_key
vault_labs_slack_channel_id
vault_labs_slack_mention_user_id
vault_labs_sentry_dns

@neoformit neoformit requested review from cat-bro and jlqfab January 21, 2025 23:18
- group_vars/VAULT
- group_vars/labs_engine.yml
- host_vars/labs.usegalaxy.org.au.yml
roles:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll also need to run the common and insspb.hostname roles. Probably also dj-wasabi.telegraf.

@@ -0,0 +1 @@
labs_engine_branch: main
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also need to define some ssh-specific variables such as extra_keys and ssh_config_*
see host_vars/galaxy-queue.usegalaxy.org.au.yml for example

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be named consistently with other Galaxy playbooks. Ie labs-engine_playbook.yml. Same goes for the dev version of the playbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants