Repository URL to install this package:
|
Version:
6.0.0 ▾
|
| .. |
| tasks |
| README.md |
Clean up unused Content View Versions.
This role will remove any unused versions of your Content Views and Composite Content Views.
Unused versions are those that match the following criteria:
This role will first clean Composite Content Views, to avoid leaving unused versions of regular Content Views behind.
This role supports the Common Role Variables.
foreman_content_view_version_cleanup_keep: How many unused versions to keep.foreman_content_view_version_cleanup_search: Limit the cleaned content views using a search string (example: name ~ SOE).
When using Composite Content Views, both the composite and the non-composite ones need to match this search to be properly cleaned up by this role.- hosts: localhost roles: - role: theforeman.foreman.content_view_version_cleanup vars: foreman_server_url: https://foreman.example.com foreman_username: "admin" foreman_password: "changeme" foreman_organization: "Default Organization" foreman_content_view_version_cleanup_keep: 10