mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-14 09:13:16 +02:00
Update to 2022-02-18 18:00
This commit is contained in:
parent
767adc1e83
commit
f5ac84a5e9
roles
@ -3,7 +3,7 @@ verbose
|
|||||||
fingerprint
|
fingerprint
|
||||||
{% if turn_auth_secret is defined %}
|
{% if turn_auth_secret is defined %}
|
||||||
use-auth-secret
|
use-auth-secret
|
||||||
static-auth-secret {{ turn_auth_secret }}
|
static-auth-secret={{ turn_auth_secret }}
|
||||||
{% else %}
|
{% else %}
|
||||||
lt-cred-mech
|
lt-cred-mech
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -11,13 +11,13 @@ no-sslv2
|
|||||||
no-sslv3
|
no-sslv3
|
||||||
no-loopback-peers
|
no-loopback-peers
|
||||||
no-multicast-peers
|
no-multicast-peers
|
||||||
realm {{ turn_realm | default(ansible_domain) }}
|
realm={{ turn_realm | default(ansible_domain) }}
|
||||||
proc-user coturn
|
proc-user=coturn
|
||||||
proc-group coturn
|
proc-group=coturn
|
||||||
syslog
|
syslog
|
||||||
|
|
||||||
{% for ip in turn_listen_ip %}
|
{% for ip in turn_listen_ip %}
|
||||||
listening-ip {{ ip }}
|
listening-ip={{ ip }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if not turn_allow_non_tls %}
|
{% if not turn_allow_non_tls %}
|
||||||
@ -25,19 +25,19 @@ no-tcp
|
|||||||
no-udp
|
no-udp
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
listening-port {{ turn_port }}
|
listening-port={{ turn_port }}
|
||||||
|
|
||||||
{% if turn_tls %}
|
{% if turn_tls %}
|
||||||
tls-listening-port {{ turn_tls_port }}
|
tls-listening-port={{ turn_tls_port }}
|
||||||
{% if turn_letsencrypt_cert is defined %}
|
{% if turn_letsencrypt_cert is defined %}
|
||||||
cert /etc/coturn/ssl/cert.pem
|
cert=/etc/coturn/ssl/cert.pem
|
||||||
pkey /etc/coturn/ssl/key.pem
|
pkey=/etc/coturn/ssl/key.pem
|
||||||
{% else %}
|
{% else %}
|
||||||
cert {{ turn_tls_cert }}
|
cert={{ turn_tls_cert }}
|
||||||
pkey {{ turn_tls_key }}
|
pkey={{ turn_tls_key }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if turn_external_ip is defined %}
|
{% if turn_external_ip is defined %}
|
||||||
external-ip {{ turn_external_ip }}
|
external-ip={{ turn_external_ip }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- include_tasks: install_{{ ansible_os_family }}.yml
|
- include_tasks: install_{{ ansible_os_family }}.yml
|
||||||
|
tags: node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user