aboutsummaryrefslogblamecommitdiff
blob: cfce96827dc26f6bb8ffe0331aa7a5406396daeb (plain) (tree)
1
2
3
4


                     
              





















                                         
---
- name: Install Nginx
  hosts: localhost
  become: true
  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
Powered by cgit v1.2.3 (git 2.41.0)