summaryrefslogtreecommitdiffstats
path: root/roles/stream/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/stream/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/stream/tasks/main.yml b/roles/stream/tasks/main.yml
index 76febe0..d741c72 100644
--- a/roles/stream/tasks/main.yml
+++ b/roles/stream/tasks/main.yml
@@ -47,6 +47,15 @@
src: emacsconf.nginx.conf
dest: /etc/nginx/emacsconf.nginx.conf
mode: 0644
+- name: Include emacsconf in nginx config
+ tags: wip
+ become: true
+ lineinfile:
+ line: include /etc/nginx/emacsconf.nginx.conf;
+ regexp: '^\s*include /etc/nginx/emacsconf.nginx.conf;'
+ insertafter: '.*tls/live0.conf.*'
+ backup: yes
+ path: /etc/nginx/sites-available/live0.emacsconf.org
- name: Enable icecast
become: true
service: