Installation scripts for SURF ResearchCloud catalog components
View the Project on GitHub UtrechtUniversity/researchcloud-items
A simple role that applies some heuristics to determine if one of the following components (all hosted in this repository) has been run before the current one:
You can check either for a rootful (default) installation of Docker, or a rootless. Heuristics applied are as follows:
docker.service
running? (note this will also be true if docker was installed in some other way)/etc/rsc/cron_rootless_docker.sh
present? (note if rootless Docker was installed via some other route than the SURF components, this heuristic will fail)If these checks fail, the role will fail.
docker_rootless
: Boolean. Check for presence of rootless Docker? Default: false
.Include the role like usual:
roles:
- role: require_src_docker
vars:
docker_rootless: true # optional
…or add it to another role’s meta/main.yml
, in the dependencies
section:
---
dependencies:
- require_src_docker # will check for rootful installation, since no variables are set
2025 Written by Dawa Ometto (Utrecht University)