Skip to content

Merge pull request #25 from projectpotos/dependabot/pip/ansible-lint-… #106

Merge pull request #25 from projectpotos/dependabot/pip/ansible-lint-…

Merge pull request #25 from projectpotos/dependabot/pip/ansible-lint-… #106

Triggered via push March 21, 2024 14:12
Status Success
Total duration 11m 52s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
jinja[spacing]: tasks/main.yml#L33
Jinja2 spacing could be improved: {{ (potos_wallpaper_backgrounds.files | map(attribute="path") | map("regex_replace", "^\/usr\/share\/backgrounds\/(.*)", "\1") | list) | difference(potos_wallpaper_images[1:] | map(attribute="filename" )) | difference(\[potos_wallpaper_default_name]) }} -> {{ (potos_wallpaper_backgrounds.files | map(attribute="path") | map("regex_replace", "^\/usr\/share\/backgrounds\/(.*)", "\1") | list) | difference(potos_wallpaper_images[1:] | map(attribute="filename")) | difference(\[potos_wallpaper_default_name]) }}
jinja[spacing]: tasks/main.yml#L48
Jinja2 spacing could be improved: potos_wallpaper/{% if potos_wallpaper_images[0] is string%}{{ potos_wallpaper_images[0] }}{% else %}{{ potos_wallpaper_images[0].filename }}{% endif %} -> potos_wallpaper/{% if potos_wallpaper_images[0] is string %}{{ potos_wallpaper_images[0] }}{% else %}{{ potos_wallpaper_images[0].filename }}{% endif %}
jinja[spacing]: tasks/main.yml#L56
Jinja2 spacing could be improved: /usr/share/backgrounds/{% if item is string%}{{ item | basename }}{% else %}{{ item.filename | basename }}{% endif %} -> /usr/share/backgrounds/{% if item is string %}{{ item | basename }}{% else %}{{ item.filename | basename }}{% endif %}
jinja[spacing]: tasks/main.yml#L56
Jinja2 spacing could be improved: potos_wallpaper/{% if item is string%}{{ item }}{% else %}{{ item.filename }}{% endif %} -> potos_wallpaper/{% if item is string %}{{ item }}{% else %}{{ item.filename }}{% endif %}
jinja[spacing]: tasks/main.yml#L33
Jinja2 spacing could be improved: {{ (potos_wallpaper_backgrounds.files | map(attribute="path") | map("regex_replace", "^\/usr\/share\/backgrounds\/(.*)", "\1") | list) | difference(potos_wallpaper_images[1:] | map(attribute="filename" )) | difference(\[potos_wallpaper_default_name]) }} -> {{ (potos_wallpaper_backgrounds.files | map(attribute="path") | map("regex_replace", "^\/usr\/share\/backgrounds\/(.*)", "\1") | list) | difference(potos_wallpaper_images[1:] | map(attribute="filename")) | difference(\[potos_wallpaper_default_name]) }}
jinja[spacing]: tasks/main.yml#L48
Jinja2 spacing could be improved: potos_wallpaper/{% if potos_wallpaper_images[0] is string%}{{ potos_wallpaper_images[0] }}{% else %}{{ potos_wallpaper_images[0].filename }}{% endif %} -> potos_wallpaper/{% if potos_wallpaper_images[0] is string %}{{ potos_wallpaper_images[0] }}{% else %}{{ potos_wallpaper_images[0].filename }}{% endif %}
jinja[spacing]: tasks/main.yml#L56
Jinja2 spacing could be improved: /usr/share/backgrounds/{% if item is string%}{{ item | basename }}{% else %}{{ item.filename | basename }}{% endif %} -> /usr/share/backgrounds/{% if item is string %}{{ item | basename }}{% else %}{{ item.filename | basename }}{% endif %}
jinja[spacing]: tasks/main.yml#L56
Jinja2 spacing could be improved: potos_wallpaper/{% if item is string%}{{ item }}{% else %}{{ item.filename }}{% endif %} -> potos_wallpaper/{% if item is string %}{{ item }}{% else %}{{ item.filename }}{% endif %}