ansible.logrotate
ansible.logrotate copied to clipboard
[BUGFIX] Remove symlink when var gets changed
Use case:
- Set
logrotate_use_hourly_rotation
to true and run role - Symlink
/etc/cron.hourly/logrotate
gets created - Now set
logrotate_use_hourly_rotation
to false again - Symlink
/etc/cron.hourly/logrotate
does not get removed