Project

General

Profile

Actions

Feature #24588

closed

Automatic pruning for foreman-plugin-tasks-automatic-cleanup

Added by Kenny Tordeurs over 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman plugin
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If you enabled the `--foreman-plugin-tasks-automatic-cleanup` it will be added as a cronjob for automatic task cleanup.

- It will use the settings from /etc/foreman/plugins/foreman-tasks.yaml
- Backup is enabled by default under directory /var/lib/foreman/tasks-backup
- After a while /var/lib/foreman/tasks-backup will get very big and nothing will clean it up automatically.

It would be good to add a pruning interval for backups under /var/lib/foreman/tasks-backup to foreman-plugin-tasks-automatic-cleanup

/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.9.6.4/lib/foreman_tasks/tasks/cleanup.rake

Actions

Also available in: Atom PDF