diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:04:22 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:43:36 +0100 |
commit | 2495327985da791891b579bd05b3cda1f41dfda7 (patch) | |
tree | 4a48fbc071739ec5b38f3bda049fa984cb795498 /roles/common-web/tasks | |
parent | 203c3ca3d0b3d053827e6ced01cdde85eb0871c5 (diff) |
Upgrade baseline to Debian Stretch.
Diffstat (limited to 'roles/common-web/tasks')
-rw-r--r-- | roles/common-web/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/common-web/tasks/main.yml b/roles/common-web/tasks/main.yml index 02b7134..e2eb3ee 100644 --- a/roles/common-web/tasks/main.yml +++ b/roles/common-web/tasks/main.yml @@ -1,27 +1,27 @@ - name: Install Nginx - apt: pkg=nginx + apt: pkg=nginx-light - name: Limit Nginx logging lineinfile: "dest=/etc/logrotate.d/nginx create=yes regexp='^\\s*rotate\\s' - line='\trotate 1'" + line='\trotate 7'" tags: - logrotate - name: Copy fastcgi parameters, acme-challenge and SSL configuration snippets copy: src=etc/nginx/snippets/{{ item }} dest=/etc/nginx/snippets/{{ item }} owner=root group=root mode=0644 register: r1 with_items: - fastcgi.conf - fastcgi-php.conf - fastcgi-php-ssl.conf - ssl.conf - headers.conf - acme-challenge.conf notify: - Restart Nginx - name: Copy /etc/nginx/sites-available/default |