Pavel Raiskup 2020-01-06 08:48:42 +01:00 committed by Pierre-Yves Chibon
parent e93d539e29
commit b8a6fbc283

View file

@ -45,6 +45,12 @@
- name: install httpd logrotate
copy: src="httpd.logrotate" dest="/etc/logrotate.d/httpd"
- name: compress rotated logs
lineinfile: path=/etc/logrotate.d/httpd
line=' compress'
insertbefore='*delaycompress'
state=present
- name: enable and start httpd
service: name=httpd state=started enabled=yes
tags: