2019-11-21 19:53:30 +01:00
|
|
|
---
|
|
|
|
- name: Converge
|
|
|
|
hosts: all
|
2020-08-19 18:39:17 +02:00
|
|
|
tasks:
|
|
|
|
- name: Install NGINX modules
|
|
|
|
include_role:
|
|
|
|
name: ansible-role-nginx
|
|
|
|
vars:
|
|
|
|
nginx_debug_output: true
|
2019-11-21 19:53:30 +01:00
|
|
|
|
2020-08-19 18:39:17 +02:00
|
|
|
nginx_service_modify: true
|
|
|
|
nginx_service_timeout: 95
|
|
|
|
nginx_selinux: true
|
|
|
|
nginx_selinux_tcp_ports:
|
|
|
|
- 80
|
|
|
|
- 443
|
2020-06-30 18:59:53 +02:00
|
|
|
|
2020-08-19 18:39:17 +02:00
|
|
|
nginx_cleanup_config: true
|
|
|
|
nginx_cleanup_config_paths:
|
|
|
|
- directory:
|
|
|
|
- /etc/nginx/conf.d
|
|
|
|
recurse: false
|
|
|
|
nginx_cleanup_config_files:
|
|
|
|
- /etc/nginx/conf.d/default.conf
|
2020-06-12 23:42:14 +02:00
|
|
|
|
2020-08-19 18:39:17 +02:00
|
|
|
nginx_modules:
|
|
|
|
njs: true
|
|
|
|
perl: true
|
|
|
|
waf: false
|
|
|
|
geoip: true
|
|
|
|
image_filter: true
|
|
|
|
rtmp: true
|
|
|
|
xslt: true
|