initial commit
This commit is contained in:
commit
13eace9ce9
219 files changed
+6918
No files matched your search
@@ -0,0 +1,32 @@
|
||||
---
|
||||
- name: install coturn
|
||||
ansible.builtin.apt:
|
||||
name: coturn
|
||||
state: latest
|
||||
update_cache: true
|
||||
notify: restart coturn
|
||||
|
||||
- name: ensure /var/lib/coturn/certs exists
|
||||
ansible.builtin.file:
|
||||
path: /var/lib/turn/certs
|
||||
owner: "turnserver"
|
||||
group: "turnserver"
|
||||
state: directory
|
||||
|
||||
- name: enable coturn daemon
|
||||
ansible.builtin.copy:
|
||||
src: coturn
|
||||
dest: /etc/default/coturn
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
notify: restart coturn
|
||||
|
||||
- name: deploy coturn config
|
||||
ansible.builtin.template:
|
||||
src: "{{ inventory_hostname }}/turnserver.conf.j2"
|
||||
dest: /etc/turnserver.conf
|
||||
owner: root
|
||||
group: turnserver
|
||||
mode: "0640"
|
||||
notify: restart coturn
|
||||
Reference in new issue
Block a user