supportapps
Type: host-specific-role
This role sets up a VM for NFDI4Earth to host different generic tasks. See the tags for the single tasks it executes...
Table of content
- Requirements
- Default Variables
- jupyter
- jupyter.containername
- jupyter.image_version
- jupyter.lti.username
- jupyter.port
- jupyter.recreate
- jupyter.subdomain
- jupyter.urls
- openedx.lti
- openedx.lti.key
- openedx.lti.secret
- Discovered Tags
- Open Tasks
- Dependencies
- License
- Author
Requirements
- Minimum Ansible version:
['2.13']
Default Variables
jupyter
Collection of vars related to the jupyterhub dockercontainer
jupyter.containername
Name of the docker container
jupyter.image_version
Name of the docker container
jupyter.lti.username
jupyter.port
Port at the host
jupyter.recreate
Shall the container get recreated?
jupyter.subdomain
Subdomain, that is added to 'main' domain of this host
Example usage
jupyterhub
jupyter.urls
Those are the domains, by which the hub is accessible. We have to register also the domains of edutrain make sure the proxy forwarding works well!
openedx.lti
Collects LTI component information
key and secret are generated via: openssl rand -hex 8
openedx.lti.key
openedx.lti.secret
Discovered Tags
Add 'student' user to container of\ This is necessary, as Open edX (resp. jupyter-xblock) expects the user 'student' to be there Although it is fixed to 'student'...this can be set via host_vars
ansible
captcha-mailer-api
Copy jupyterhub_config.py with LTI settings\ We can copy this only after final initialisation, as needs to be installed jupyterhub-ltiauthenticator
gitlab_runner
Initialize CAPTCHA-Mailer-API
Initialize nginx for jupyterhub\ Copy and link nginx configuration files, which point to the jupyterhub container...located at this VM
Initialize vault user\ Initialize the user "vault" to host all host_vars for ansible
jupyterhub
landing_pages
oauth
Restart {{ jupyter.containername }}\ Restart jupyterhub if the config has changed
Set up ansible to extract system infos of other VMs
Set up central hosting of landing pages
Set up docker jupyterhub container\ Copy and link nginx configuration files, which point to the edutrain_test-vm.
Set up gitlab runner container\ oriented on: https://docs.gitlab.com/runner/install/docker.html#option-2-use-docker-volumes-to-start-the-runner-container
Set up some tmux scripts
tmux
Open Tasks
- (improvement): configuration of jupyter-xblock
- (improvement): set a certain user as lti-authenticator...actually simply the admin user
- (improvement): build and register a derived docker-image for jupyterhub containing all the adaptions, that we make via ansible
Dependencies
- host: supportapps_prod
- playbook: supportapps.yaml
License
Apache 2.0