copr: fe: move httpd logrotate config to frontend-cloud

This commit is contained in:
Pavel Raiskup 2020-01-06 09:13:41 +01:00 committed by Pierre-Yves Chibon
parent b8a6fbc283
commit 0009497a20
2 changed files with 6 additions and 6 deletions

View file

@ -163,6 +163,12 @@
- name: install custom systemd service files
copy: src=systemd dest=/etc
- name: compress rotated httpd logs
lineinfile: path=/etc/logrotate.d/httpd
line=' compress'
insertbefore='*delaycompress'
state=present
- name: start logrotate service
service: name=logrotate.timer state=started enabled=yes

View file

@ -45,12 +45,6 @@
- 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: