This repository contains Ansible installation scripts for use in conjunction with SURF ResearchCloud. ResearchCloud catalog maintainers can configure components from the playbooks in this repo.
This repository contains the bulk of UU's ResearchCloud components for Unix/Linux workspaces, which are based on Ansible playbooks, and it also provides reusable roles as a collection. However, some UU components are not part of this repository and can be found elsewhere. See here for an overview.
The roles and playbooks in this repository can also be installed as an Ansible collection. The collection is named uusrc.general. After installation, this means you can use the roles from this repository, for example as follows:
roles:
- role: uusrc.general.fact_regular_usersTo install the collection you have two options:
- install manually with
ansible-galaxy collection install git+https://github.com/utrechtuniversity/researchcloud-items.git - add this repository to your
requirements.yml:
---
collections:
- name: https://github.com/UtrechtUniversity/researchcloud-items.git
type: gitScript developers, please consult the developer documentation before using a playbook to find out if the playbook meets your use case. For end-users, there is a Primer SURF ResearchCloud.
Some of the code maintained in this repo is derived from other sources. As a consequence, unfortunately we are unable to provide the entire repo content under a single general license. We use the following licensing policy:
- If there exists a license file in the root directory of a role then that license applies to all files belonging to that role.
- Logo's, pictures and icon files for external applications (for instance, for documentation purposes or for displaying app icons to endusers) not created by UU naturally do not fall under our license, but are used under fair use.
- In all other cases the license specified in the top-level directory of this repository applies.
We are very happy with any contributions in terms of new Ansible scripts for Research Plug-ins and/or documentation. Read the contributing guidelines.
Molecule tests are run in GitHub Actions for pull requests and pushes to the main branch. In order to avoid running expensive tests (spinning up SRC workspace containers for every scenario), the workflow checks which files have been modified, and thus need to be tested again.
There are two kinds of tests:
- Role tests. Molecule scenarios should be stored in the
playbooks/roles/<role>/molecule/directory. - Playbook tests. Molecule scenarios should be stored in the
molecule/directory and given aplaybook-prefix.
This repository contains the bulk of UU's ResearchCloud components for Unix/Linux workspaces, which are based on Ansible playbooks, and it also provides reusable roles as a collection. However, some UU components are not part of this repository and can be found elsewhere.
This can be for several reasons (see below). Below is a list of important UU-maintained ResearchCloud components outside of this repository. Documentation should be contained in these external repositories.
| Name | Description | Component type | Why not in this repo? |
|---|---|---|---|
| Grobid | Grobid can help you perform bibliographic analyses on scientific papers. | Docker Compose | Non-Ansible |
| Galaxy | Galaxy is a workflow engine for bioinformatics. | Ansible | Non-standard access rights |
| ibridges-ansible | A component to easily download iRODS collections to a workspace. | Ansible | Available as a separate collection |
| Open WebUI | Extensible, feature-rich, and user-friendly self-hosted AI platform designed to operate entirely offline. | Ansible | Non-standard access rights |
| researchcloud-items-win | Various components targeting Windows workspaces | PowerShell | Non-Ansible |
Components for specific research projects (not intended for general use) should preferably also be stored in a separate repository. They can use the roles in this repo by installing it as a collection.
By following this convention, the CI workflow knows that when a pull request modifies e.g. playbooks/foo.yml, the scenario molecule/playbook-foo should be run. The CI tests are also run when anything changes in the scenario itself (so e.g. when you change molecule/foo/molecule.yml).