Skip to content

Commit

Permalink
make openssl managing optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew N Golovkov committed Jan 28, 2020
1 parent 546275b commit 3928a88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
stunnel_install_ssl_backend: false
stunnel_use_certificate: true
stunnel_use_psk: false
stunnel_certificate_generation: False
Expand Down
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
name: openssl
update_cache: yes
register: install_ssl_backend
when: stunnel_install_ssl_backend

- name: Install package
package:
Expand Down

0 comments on commit 3928a88

Please sign in to comment.