2018-02-09 21:00:58 +01:00
|
|
|
---
|
|
|
|
- name: "(Install: All OSs) Install NGINX Plus RTMP Module"
|
|
|
|
package:
|
2020-04-18 00:40:35 +02:00
|
|
|
name: "nginx-plus-module-rtmp{{ nginx_version | default('') }}"
|
2018-02-09 21:00:58 +01:00
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: "(Setup: All NGINX) Load NGINX RTMP Module"
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/nginx/nginx.conf
|
|
|
|
insertbefore: BOF
|
|
|
|
line: load_module modules/ngx_rtmp_module.so;
|
2019-08-03 12:53:21 +02:00
|
|
|
when: not nginx_main_template_enable
|
2018-02-09 21:00:58 +01:00
|
|
|
notify: "(Handler: All OSs) Reload NGINX"
|