configpolicy/roles/apache
Dustin 750cc8afd4 roles/logrotate: Install and enable logrotate
Since Apache HTTPD does not have any built-in log rotation capability,
we need `logrotate`.  Somewhere along the line, the *logrotate* package
stopped being installed by default.  Additionally, with Fedora 30, it
changed from including a drop-in file for (Ana)cron to providing a
systemd timer unit.

The *logrotate* role will ensure that the *logrotate* package is
installed, and that the *logrotate.timer* service is enabled and
running.  This in turn will ensure that `logrotate` runs daily.  Of
course, since the systemd units were added in Fedora 30, machines to
which this role is applied must be running at least that version.

By listing the *logrotate* role as a dependency of the *httpd* role, we
can ensure that `logrotate` manages the Apache error and access log
files on any server that runs Apache HTTPD.
2020-12-08 20:59:40 -06:00
..
defaults roles/apache: Use event MPM by default 2018-05-28 15:24:34 -05:00
files hosts: Add motion0.p.b 2020-10-03 11:30:38 -05:00
handlers roles/apache: Role to deploy Apache HTTPD 2018-04-14 15:21:15 -05:00
meta roles/logrotate: Install and enable logrotate 2020-12-08 20:59:40 -06:00
tasks roles/apache: Configure mod_userdir 2019-01-04 20:52:23 -06:00
templates roles/apache: Set ServerName in default SSL vhost 2019-01-04 20:52:23 -06:00