diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-11-19 10:59:13 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-11-19 10:59:13 -0500 |
commit | fd4668297628c30ae97f52e7772f58f5026577f0 (patch) | |
tree | aa5f2e4f928f6a845f0466964484f2e8dfb946ed /roles/stream/tasks | |
parent | bbb81569908a3e2511f9e10210d1effb4428442c (diff) | |
download | emacsconf-ansible-fd4668297628c30ae97f52e7772f58f5026577f0.tar.xz emacsconf-ansible-fd4668297628c30ae97f52e7772f58f5026577f0.zip |
fix emacsconf on live0
Diffstat (limited to '')
-rw-r--r-- | roles/stream/tasks/main.yml | 9 |
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: |