summaryrefslogtreecommitdiffstats
path: root/roles/common-web/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common-web/tasks/main.yml')
-rw-r--r--roles/common-web/tasks/main.yml4
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,10 +1,10 @@
- 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