Skip to content

Fix ansible lint

Fix ansible lint #1143

Triggered via pull request March 25, 2024 14:02
Status Failure
Total duration 1m 23s
Artifacts

ansible-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
name[casing]: playbooks/deploy_registry.yml#L16
All names should start with an uppercase letter.
yaml[truthy]: playbooks/deploy_registry.yml#L25
Truthy value should be one of \[false, true]
name[play]: tests/run_tests.yml#L2
All plays should be named.
fqcn[action-core]: tests/validate_inventory/roles/run_suite/tasks/main.yml#L2
Use FQCN for builtin module actions (include_vars).
fqcn[action-core]: tests/validate_inventory/roles/run_suite/tasks/main.yml#L7
Use FQCN for builtin module actions (tempfile).
fqcn[action-core]: tests/validate_inventory/roles/run_suite/tasks/main.yml#L15
Use FQCN for builtin module actions (template).
yaml[octal-values]: tests/validate_inventory/roles/run_suite/tasks/main.yml#L19
Forbidden implicit octal value "0644"
fqcn[action-core]: tests/validate_inventory/roles/run_suite/tasks/main.yml#L24
Use FQCN for builtin module actions (include_tasks).
fqcn[action-core]: tests/validate_inventory/roles/run_suite/tasks/main.yml#L29
Use FQCN for builtin module actions (copy).
fqcn[action-core]: tests/validate_inventory/roles/run_suite/tasks/main.yml#L38
Use FQCN for builtin module actions (file).
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
jinja[spacing]: playbooks/deploy_registry.yml#L18
Jinja2 spacing could be improved: {{ image_hashes | default({}) | length == 0 }} -> {{ image_hashes | default({}) | length == 0 }}
jinja[spacing]: roles/validate_inventory/tasks/vms.yml#L42
Jinja2 spacing could be improved: {{ kvm_user_password_combinations | combine({ (hostvars\[item]['vm_host'] + '.' + hostvars\[item]['bmc_user']): ( ( kvm_user_password_combinations[( hostvars\[item]['vm_host'] + '.' + hostvars\[item]['bmc_user'] )] | default([]) ) + [hostvars\[item]['bmc_password']] ) | unique }) }} -> {{ kvm_user_password_combinations | combine({(hostvars\[item]['vm_host'] + '.' + hostvars\[item]['bmc_user']): ((kvm_user_password_combinations[(hostvars\[item]['vm_host'] + '.' + hostvars\[item]['bmc_user'])] | default([])) + [hostvars\[item]['bmc_password']]) | unique}) }}
jinja[spacing]: tests/validate_inventory/roles/run_suite/tasks/run_test.yml#L3
Jinja2 spacing could be improved: Run Testcase {{ item.test_name }} -> Run Testcase {{ item.test_name }}
jinja[spacing]: tests/validate_inventory/roles/run_suite/tasks/run_test.yml#L13
Jinja2 spacing could be improved: Record failure of testcase {{ item.test_name }} -> Record failure of testcase {{ item.test_name }}
jinja[spacing]: tests/validate_inventory/roles/run_suite/tasks/run_test.yml#L13
Jinja2 spacing could be improved: Record failure of testcase {{ item.test_name }} -> Record failure of testcase {{ item.test_name }}