move templates into subdirs
parent
ea80f2e2f5
commit
1ef7fbb1b5
defaults
templates
|
@ -19,6 +19,7 @@ mumble_web_certificate: "{{ acme_certs_dir }}/{{ mumble_web_domain }}.d/{{ acme_
|
|||
mumble_web_trusted_certificate: "{{ acme_certs_dir }}/{{ mumble_web_domain }}.d/chain.pem"
|
||||
mumble_web_private_key: "{{ acme_keys_dir }}/{{ mumble_web_domain }}.key"
|
||||
mumble_web_www_dir: /var/www/mumble-web
|
||||
mumble_web_dist_dir: "{{ mumble_web_www_dir }}/dist"
|
||||
mumble_web_version: master
|
||||
mumble_web_websockify_port: "64737"
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
- name: Copy mumble-web config file
|
||||
template:
|
||||
src: mumble-web.js.j2
|
||||
src: mumble-web/config.js.j2
|
||||
dest: "{{ mumble_web_www_dir }}/dist/config.local.js"
|
||||
owner: "{{ mumble_web_owner }}"
|
||||
group: "{{ mumble_web_group }}"
|
||||
|
@ -72,7 +72,7 @@
|
|||
|
||||
- name: Copy mumble-web systemd service
|
||||
template:
|
||||
src: mumble-web.service.j2
|
||||
src: mumble-web/mumble-web.service.j2
|
||||
dest: /etc/systemd/system/mumble-web.service
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
- name: Copy Murmur config file
|
||||
template:
|
||||
src: mumble-server.ini.j2
|
||||
src: murmur/mumble-server.ini.j2
|
||||
dest: /etc/mumble-server.ini
|
||||
owner: root
|
||||
group: "{{ murmur_group }}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: Copy Nginx config file
|
||||
template:
|
||||
src: nginx.conf.j2
|
||||
src: mumble-web/nginx.conf.j2
|
||||
dest: "{{ mumble_web_nginx_config_dir }}/sites-available/mumble.conf"
|
||||
owner: root
|
||||
group: www-data
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
- name: Copy umurmur config file
|
||||
template:
|
||||
src: umurmur.conf.j2
|
||||
src: umurmur/umurmur.conf.j2
|
||||
dest: /usr/local/etc/umurmur.conf
|
||||
owner: root
|
||||
group: "{{ umurmur_ssl_group }}"
|
||||
|
@ -66,7 +66,7 @@
|
|||
|
||||
- name: Copy umurmur systemd service
|
||||
template:
|
||||
src: umurmur.service.j2
|
||||
src: umurmur/umurmur.service.j2
|
||||
dest: /etc/systemd/system/umurmur.service
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
@ -53,11 +53,11 @@ server {
|
|||
{% endif %}
|
||||
|
||||
location / {
|
||||
root /var/www/mumble-web/dist/;
|
||||
root {{ mumble_web_dist_dir }};
|
||||
}
|
||||
|
||||
location /mumble {
|
||||
proxy_pass http://127.0.0.1:{{ mumble_web_websockify_port }};
|
||||
proxy_pass http://localhost:{{ mumble_web_websockify_port }};
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
Loading…
Reference in New Issue