blob: 006d4e3e7459e8346e5c0fb32d3d38eb3bafe068 (
plain) (
tree)
|
|
---
- name: Install Nginx
hosts: localhost
tasks:
- name: Install NGINX
ansible.builtin.include_role:
name: nginxinc.nginx
vars:
nginx_modules:
- geoip
- perl
nginx_service_modify: true
nginx_service_timeout: 95
nginx_logrotate_conf_enable: true
nginx_logrotate_conf:
paths:
- /var/log/nginx/*.log
options:
- daily
- missingok
- rotate 14
- compress
- delaycompress
- notifempty
- sharedscripts
|