researchcloud-items

Installation scripts for SURF ResearchCloud catalog components

View the Project on GitHub UtrechtUniversity/researchcloud-items

Role require_src_nginx

back to index

Summary

A simple role that applies some heuristics to determine if the SRC-Nginx component is installed, and Nginx is active. If not, this role will fail and exit the playbook with a message to the user explaining that SRC-Nginx is required.

This is useful for roles that depend on the specific Nginx configuration provided by that component: for instance, the nginx_reverse_proxy role relies on the presence of the configuration that allows for SRAM authentication.

Usage

Include the role like usual:

roles:
  - role: require_src_nginx

…or add it to another role’s meta/main.yml, in the dependencies section:

---
dependencies:
  - require_src_nginx

History

2025 Written by Dawa Ometto (Utrecht University)

back to index