host - improve validation and conversion of MAC addresses #1232
Annotations
2 warnings
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) :] }}
|
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) :] }}
|
This job succeeded
Loading