Download:
child 5:4213233fc119
parent 3:0b7b5add13e3
4:e89c1fca1357
Anton Shestakov <av6@dwimlabs.net>, Sat, 19 Mar 2016 00:41:54 +0800
provision: add turnserver role

2 файлов изменено, 15 вставок(+), 0 удалений(-) [+]
contrib/provision/roles/turnserver/handlers/main.yml file | annotate | diff | comparison | revisions
contrib/provision/roles/turnserver/tasks/main.yml file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/roles/turnserver/handlers/main.yml Sat Mar 19 00:41:54 2016 +0800
@@ -0,0 +1,4 @@
+---
+- name: restart resiprocate-turn-server
+ service: name=resiprocate-turn-server state=restarted
+...
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/roles/turnserver/tasks/main.yml Sat Mar 19 00:41:54 2016 +0800
@@ -0,0 +1,11 @@
+---
+- name: Install packages
+ apt: pkg={{ item }} state=present
+ with_items:
+ - resiprocate-turn-server
+ tags: [packages]
+
+- name: Allow STUN
+ ufw: rule=allow port=3478
+ tags: [ufw]
+...