knowledgehub
Type: host-specific-role
This role sets up an VM for the NFDI4Earth compontent "Knowledge Hub" It is currently in a test-phase, as it can be only applied to a test-vm
Table of content
Requirements
- Minimum Ansible version:
['2.13']
Discovered Tags
Add proxy config to main config\ Basically we add some additional proxy configs defined in the role vars file
Check project existence
Checkout production branch
Clone project if not exists
Configure nginx\ Configure nginx for main- and sub-domains
Copy and link config file for each subdomain\ ...by looping through all config files in templates/nginx
Copy config file\ ...in sites-available
Create symbolic link\ ...in sites-enabled
Install dependencies\ Install dependencies
Reload nginx\ Always reload nginx. ToDo: Try to figure out how to reload nginx only when something change within the included tasks
Set configs\ Set configs for main domain and alias_domains
Set langing page
Set permissions to enable nginx
Set up KH\ Set up and configure Knowledge Hub services
Set up KH populator\ Set up KH populator which manages the metadata import pipelines into the KH
Unlink default config\ To avoid redundant domain entries, as they can be written by certbot
Update project if exists
Open Tasks
Dependencies
None.
License
Apache 2.0