18 lines
420 B
YAML
18 lines
420 B
YAML
|
- name: Copy Nginx config file
|
||
|
template:
|
||
|
src: nginx.conf.j2
|
||
|
dest: /etc/nginx/sites-available/mumble.conf
|
||
|
owner: root
|
||
|
group: www-data
|
||
|
mode: "755"
|
||
|
notify: reload nginx
|
||
|
|
||
|
- name: Enable Nginx config file
|
||
|
file:
|
||
|
src: /etc/nginx/sites-available/mumble.conf
|
||
|
path: /etc/nginx/sites-enabled/mumble.conf
|
||
|
state: link
|
||
|
notify: reload nginx
|
||
|
|
||
|
- name: Trigger Nginx handlers
|
||
|
meta: flush_handlers
|