diff options
Diffstat (limited to 'roles/apps/coturn/tasks/main.yml')
-rw-r--r-- | roles/apps/coturn/tasks/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/apps/coturn/tasks/main.yml b/roles/apps/coturn/tasks/main.yml index 176be664..a35734a8 100644 --- a/roles/apps/coturn/tasks/main.yml +++ b/roles/apps/coturn/tasks/main.yml @@ -59,6 +59,7 @@ daemon_reload: yes - name: configure nginx vhost + when: coturn_install_nginx_vhost vars: nginx_vhost: name: "coturn-{{ coturn_realm }}" @@ -68,6 +69,18 @@ include_role: name: nginx/vhost +- name: get certificate using acmetool + when: not coturn_install_nginx_vhost + import_role: + name: acmetool/cert + vars: + acmetool_cert_name: "coturn-{{ coturn_realm }}" + acmetool_cert_hostnames: "{{ coturn_hostnames }}" + +- name: apply hacky fix to support binding to privileged ports + when: (coturn_listening_port < 1024) or (coturn_tls_listening_port < 1024) + import_tasks: privileged-ports-hack.yml + - name: install pod manifest vars: kubernetes_standalone_pod: |