Skip to content

Stunnel role#

This role installs and configures Stunnel. We currently use Stunnel to secure connections between servers that are not on the same trusted network, using Pre-Shared Keys (PSK).

This role can be used to set up either a client or server Stunnel instance.

To know more about our use of Stunnel, please refer to the infrastructure documentation.

This role assumes that the configure.yml playbook was run before, especially for setting up the firewall rules.

Defaults#

---
# Destination of the PSK file on the server, must be defined by the user
stunnel__psk_dst: ""

# Content of the PSK file, must be defined by the user
stunnel__psk_content: ""