copr: fe: move httpd logrotate config to frontend-cloud
This commit is contained in:
parent
b8a6fbc283
commit
0009497a20
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue