Skip to content

Commit

Permalink
Adjust mumble_web_ssl* vars
Browse files Browse the repository at this point in the history
  • Loading branch information
t2d committed May 3, 2020
1 parent 803995a commit 93eb4d3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Role Variables
# - letsencrypt
mumble_web_listen: "443"
mumble_web_ssl_activated: True
mumble_web_ssl_target: False
mumble_web_ssl_target: True
```

Download
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ mumble_web_config: ""

mumble_web_listen: "443"
mumble_web_ssl_activated: True
mumble_web_ssl_target: False
mumble_web_ssl_target: True
8 changes: 6 additions & 2 deletions templates/mumble-web.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ Description=Mumble-web
[Service]
SyslogIdentifier=mumble-web
ExecStart=/usr/bin/python2.7 /usr/bin/python2-websockify \
{% if mumble_web_ssl_activated %}--cert={{ murmur_sslcert }} --key={{ murmur_sslkey }} --ssl-only --ssl-target \
{% elif mumble_web_ssl_target %}--ssl-target {% endif %}
{% if mumble_web_ssl_activated %}
--cert={{ murmur_sslcert }} --key={{ murmur_sslkey }} --ssl-only \
{% endif %}
{% if mumble_web_ssl_target %}
--ssl-target \
{% endif %}
--web={{ mumble_web_path }}/dist {{ mumble_web_listen }} localhost:{{ murmur_port }}
DynamicUser=true
; we need access to the certs
Expand Down

0 comments on commit 93eb4d3

Please sign in to comment.