-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1361 from mira-miracoli/separate-subdomain
Add a separate playbook for subdomains, reduce deployment time
- Loading branch information
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
- name: UseGalaxy.eu | ||
hosts: sn06 | ||
become: true | ||
become_user: root | ||
vars: | ||
hostname: sn06.galaxyproject.eu | ||
|
||
vars_files: | ||
# Just keep the same as sn06, so nothing gets messed up ;) | ||
- group_vars/sn06/sn06.yml | ||
- group_vars/sn06/themes_conf.yml | ||
- group_vars/sn06/subdomains.yml | ||
- group_vars/tiaas.yml # All of the training infrastructure | ||
- group_vars/gxconfig.yml # The base galaxy configuration | ||
- group_vars/toolbox.yml # User controlled toolbox | ||
- secret_group_vars/sentry.yml # Sentry SDK init url | ||
- secret_group_vars/aws.yml # AWS creds | ||
- secret_group_vars/pulsar.yml # Pulsar + MQ Connections | ||
- secret_group_vars/oidc.yml # OIDC credentials (ELIXIR, keycloak) | ||
- secret_group_vars/object_store.yml # Object Store credentils (S3 etc ...) | ||
- secret_group_vars/db-main.yml # DB URL + some postgres stuff | ||
- secret_group_vars/file_sources.yml # file_sources_conf.yml creds | ||
- secret_group_vars/all.yml # All of the other assorted secrets... | ||
- secret_group_vars/keys.yml # SSH keys | ||
- templates/galaxy/config/job_conf.yml | ||
- mounts/dest/all.yml | ||
- mounts/mountpoints.yml | ||
handlers: | ||
- name: Restart Galaxy | ||
shell: | | ||
cd /opt/galaxy/ && source /opt/galaxy/.bashrc && /usr/bin/gxadmin gunicorn handler-restart && sudo -u galaxy /usr/bin/galaxy-sync-to-nfs | ||
roles: | ||
- role: galaxyproject.galaxy | ||
vars: | ||
galaxy_create_user: false | ||
galaxy_manage_clone: false | ||
galaxy_manage_cleanup: false # we should use this | ||
galaxy_manage_download: false | ||
galaxy_manage_existing: false | ||
galaxy_manage_paths: false | ||
galaxy_manage_static_setup: false | ||
galaxy_manage_mutable_setup: false | ||
galaxy_manage_database: false | ||
galaxy_manage_subdomain_static: true | ||
galaxy_fetch_dependencies: false | ||
galaxy_build_client: false | ||
galaxy_manage_systemd: false # switch to gravity(?) | ||
galaxy_manage_gravity: false |