summaryrefslogtreecommitdiff
path: root/roles/apps/coturn
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apps/coturn')
-rw-r--r--roles/apps/coturn/tasks/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/apps/coturn/tasks/main.yml b/roles/apps/coturn/tasks/main.yml
index 42ccd2b3..bab53d99 100644
--- a/roles/apps/coturn/tasks/main.yml
+++ b/roles/apps/coturn/tasks/main.yml
@@ -1,4 +1,10 @@
---
+- name: check if acme_client is set to acmetool
+ assert:
+ msg: "this role currently only works with acmetool"
+ that:
+ - acme_client == "acmetool"
+
- name: add group for coturn
group:
name: coturn
@@ -64,7 +70,8 @@
nginx_vhost:
name: "coturn-{{ coturn_realm }}"
content: "{{ lookup('template', 'nginx-vhost.conf.j2') }}"
- acme: true
+ tls:
+ certificate_provider: acmetool
hostnames: "{{ coturn_hostnames }}"
include_role:
name: nginx/vhost