diff --git a/README.md b/README.md index 9f49fb7..ec47c5a 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Install it with `ansible-galaxy install migibert.stunnel` Role Variables -------------- +1. `stunnel_install_ssl_backend` (optional, default False) : determines if we want to install openssl by this role 1. `stunnel_use_cert` (default True) : determines if we use certificates 1. `stunnel_use_psk` (default False) : determines if we use psk 1. `stunnel_certificate_generation` (default False) : determines if this role has to generate a self signed certificate diff --git a/defaults/main.yml b/defaults/main.yml index 58dce29..6242360 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,4 +1,5 @@ --- +stunnel_install_ssl_backend: false stunnel_use_certificate: true stunnel_use_psk: false stunnel_certificate_generation: False diff --git a/tasks/main.yml b/tasks/main.yml index 53565ab..8a0ece7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,6 +11,7 @@ name: openssl update_cache: yes register: install_ssl_backend + when: stunnel_install_ssl_backend - name: Install package package: