Drop support for Ansible 2.9 #3886
Annotations
2 warnings
Run lint:
roles/content_view_version_cleanup/tasks/find_and_delete_unused_cv_versions.yml#L17
Jinja2 spacing could be improved: {{ (__foreman_versions.resources | rejectattr('environments') | rejectattr('composite_content_view_ids') | rejectattr('published_in_composite_content_view_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int):] }} -> {{ (__foreman_versions.resources | rejectattr('environments') | rejectattr('composite_content_view_ids') | rejectattr('published_in_composite_content_view_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int) :] }}
|
Run lint:
roles/content_view_version_cleanup/tasks/main.yml#L22
Jinja2 spacing could be improved: {{ (__foreman_ccv.versions | rejectattr('environment_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int):] }} -> {{ (__foreman_ccv.versions | rejectattr('environment_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int) :] }}
|
Loading