cchurch.win-stunnel
Win-STunnel
This project helps you install and set up stunnel on Windows.
Role Variables
You can use the following settings to configure stunnel. If a setting needs to be "yes" or "no", use strings instead of YAML's boolean values.
stunnel_global_options: A list of global options forstunnel.conf. The default is{}, meaning no global options are set.stunnel_services: A list of services to configure instunnel.conf. Each service should have its options and values in a dictionary. The default is{}, so you'll need to define at least one service.
For more advanced setups, you can use these variables:
stunnel_conf_template: Use a different template for configuringstunnel. The default is"stunnel.conf.j2", which uses the above-defined options.stunnel_download_url: Set an alternate URL to download thestunnelinstaller; the default URL is"https://www.stunnel.org/downloads/stunnel-5.41-win32-installer.exe".stunnel_force_install: Force the installation ofstunneleven if it's already installed according to registry keys; the default isfalse.
Example Playbook
The example below shows how to install stunnel and set up a service to forward local unencrypted SMTP connections on port 2525 to smtp.gmail.com port 465:
- hosts: windows
roles:
- role: cchurch.win-stunnel
stunnel_services:
'gmail-smtp':
client: 'yes'
accept: 2525
connect: smtp.gmail.com:465
delay: 'yes'
License
BSD
Author Information
Chris Church chris@ninemoreminutes.com
Installa
ansible-galaxy install cchurch.win-stunnelLicenza
Unknown
Download
266
Proprietario
Python/Django/Ansible, will code for sweet tea and beer.
