Skip to content

Fix ansible linter

Fix ansible linter #4

Triggered via pull request November 20, 2024 15:53
Status Failure
Total duration 1m 43s
Artifacts

ansible-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
galaxy[no-changelog]: galaxy.yml#L1
No changelog found. Please add a changelog file. Refer to the galaxy.md file for more info.
galaxy[tags]: galaxy.yml#L1
galaxy.yaml must have one of the required tags: ['application', 'cloud', 'database', 'eda', 'infrastructure', 'linux', 'monitoring', 'networking', 'security', 'storage', 'tools', 'windows']
meta-runtime[unsupported-version]: meta/runtime.yml#L1
'requires_ansible' key must refer to a currently supported version such as: >=2.15.0, >=2.16.0, >=2.17.0
syntax-check[specific]: playbooks/performance_profile.yml#L18
no module/action detected in task.
var-naming[no-role-prefix]: roles/performance_profile/defaults/main.yml#L2
Variables names from within roles should use performance_profile_ as a prefix. (vars: performance_configmap_name)
var-naming[no-role-prefix]: roles/performance_profile/defaults/main.yml#L4
Variables names from within roles should use performance_profile_ as a prefix. (vars: nodepool_namespace)
yaml[indentation]: roles/performance_profile/tasks/main.yml#L62
Wrong indentation: expected 10 but found 8
yaml[indentation]: roles/storage/.ansible-lint#L3
Wrong indentation: expected at least 1
schema[meta]: roles/storage/meta/main.yml#L1
$.galaxy_info.min_ansible_version 2.9 is not of type 'string'. See https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#using-role-dependencies
fqcn[action-core]: roles/storage/tasks/enable_copr.yml#L2
Use FQCN for builtin module actions (shell).
jinja[spacing]: roles/storage/tasks/enable_coprs.yml#L2
Jinja2 spacing could be improved: {{ _storage_copr_packages|default([]) }} -> {{ _storage_copr_packages | default([]) }}
jinja[spacing]: roles/storage/tasks/enable_coprs.yml#L18
Jinja2 spacing could be improved: {{ _storage_copr_packages|default([]) }} -> {{ _storage_copr_packages | default([]) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L26
Jinja2 spacing could be improved: {{ storage_pools|default([]) }} -> {{ storage_pools | default([]) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L26
Jinja2 spacing could be improved: {{ storage_volumes|default([]) }} -> {{ storage_volumes | default([]) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L79
Jinja2 spacing could be improved: {{ __storage_blivet_diskvolume_mkfs_option_map|d(omit) }} -> {{ __storage_blivet_diskvolume_mkfs_option_map | d(omit) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L79
Jinja2 spacing could be improved: {{ storage_pools|default([]) }} -> {{ storage_pools | default([]) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L79
Jinja2 spacing could be improved: {{ storage_volumes|default([]) }} -> {{ storage_volumes | default([]) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L136
Jinja2 spacing could be improved: {{ mount_info['fstype']|default(omit) }} -> {{ mount_info['fstype'] | default(omit) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L136
Jinja2 spacing could be improved: {{ mount_info['opts']|default(omit) }} -> {{ mount_info['opts'] | default(omit) }}
jinja[spacing]: roles/storage/tasks/main-blivet.yml#L136
Jinja2 spacing could be improved: {{ mount_info['src']|default(omit) }} -> {{ mount_info['src'] | default(omit) }}