2020-05-21 22:15:33 +02:00
|
|
|
- name: Copy Nginx config file
|
|
|
|
template:
|
|
|
|
src: nginx.conf.j2
|
2020-12-06 14:10:29 +01:00
|
|
|
dest: "{{ mumble_web_nginx_config_dir }}/sites-available/mumble.conf"
|
2020-05-21 22:15:33 +02:00
|
|
|
owner: root
|
|
|
|
group: www-data
|
|
|
|
mode: "755"
|
|
|
|
notify: reload nginx
|
|
|
|
|
|
|
|
- name: Enable Nginx config file
|
|
|
|
file:
|
2020-12-06 14:10:29 +01:00
|
|
|
src: "{{ mumble_web_nginx_config_dir }}/sites-available/mumble.conf"
|
|
|
|
path: "{{ mumble_web_nginx_config_dir }}/sites-enabled/mumble.conf"
|
2020-05-21 22:15:33 +02:00
|
|
|
state: link
|
|
|
|
notify: reload nginx
|
|
|
|
|
|
|
|
- name: Trigger Nginx handlers
|
|
|
|
meta: flush_handlers
|