Skip to content

Update ansible-lint.yml #1947

Update ansible-lint.yml

Update ansible-lint.yml #1947

Triggered via pull request January 29, 2025 09:36
Status Failure
Total duration 2m 53s
Artifacts

ansible-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
schema[ansible-lint-config]: .github/workflows/.ansible-lint.yml#L1
$ Additional properties are not allowed ('format' was unexpected). See https://ansible.readthedocs.io/projects/lint/configuring/
yaml[new-line-at-end-of-file]: .github/workflows/.ansible-lint.yml#L24
No new line character at the end of file
yaml[empty-lines]: .github/workflows/ansible-lint.yml#L38
Too many blank lines (1 > 0)
yaml[indentation]: .readthedocs.yaml#L24
Wrong indentation: expected 2 but found 3
yaml[new-line-at-end-of-file]: .readthedocs.yaml#L31
No new line character at the end of file
fqcn[action-core]: accelerator/roles/nvidia/tasks/install_cuda_redhat.yml#L32
Use FQCN for builtin module actions (ansible.builtin.yum).
fqcn[action-core]: accelerator/roles/nvidia/tasks/install_cuda_redhat.yml#L41
Use FQCN for builtin module actions (ansible.builtin.yum).
syntax-check[unknown-module]: accelerator/tests/test_Gaudi2_hlqual_validation.yml#L103
couldn't resolve module/action 'community.general.modprobe'. This often indicates a misspelling, missing collection, or incorrect module path.
jinja[spacing]: accelerator/roles/intel/tasks/make_sure_scale_out_interfaces_up.yml#L43
Jinja2 spacing could be improved: #!/bin/bash
jinja[spacing]: telemetry/roles/loki/vars/main.yml#L47
Jinja2 spacing could be improved: {{role_path}}/../../../input/config/{{ ansible_distribution | lower }}/{{ ansible_distribution_version }}/telemetry.json -> {{ role_path }}/../../../input/config/{{ ansible_distribution | lower }}/{{ ansible_distribution_version }}/telemetry.json
jinja[spacing]: telemetry/roles/orchestrator/tasks/read_telemetry_packages.yml#L34
Jinja2 spacing could be improved: {{ telemetry_package_map | default({}) | combine({ ((item.package).rsplit('-', 1)[0]): item.package}) }} -> {{ telemetry_package_map | default({}) | combine({((item.package).rsplit('-', 1)[0]): item.package}) }}
jinja[spacing]: utils/ip_rule_assignment/roles/update_network_manager/tasks/check_inventory.yml#L18
Jinja2 spacing could be improved: {{inventory_not_provided}} -> {{ inventory_not_provided }}
jinja[spacing]: utils/ip_rule_assignment/roles/update_network_manager/tasks/fetch_ip.yml#L43
Jinja2 spacing could be improved: {{ " " }}up ip rule add from {{ nic_ip_address }} table {{ item.metric }}
jinja[spacing]: utils/server_spec_update/roles/update_db_and_node_object/tasks/initialize_facts_nodes.yml#L23
Jinja2 spacing could be improved: {{ host_details | combine({host: { 'node_detail': host, 'categories': hostvars[host]['Categories'] } }) }} -> {{ host_details | combine({host: {'node_detail': host, 'categories': hostvars[host]['Categories']}}) }}
jinja[spacing]: utils/server_spec_update/roles/update_db_and_node_object/tasks/initialize_facts_nodes.yml#L33
Jinja2 spacing could be improved: {{ host_details | combine({host: { 'node_detail': (host is match('^[a-zA-Z0-9]+$') | ternary(hostvars[host]['ansible_host'], host)), 'categories': hostvars[host]['Categories'] } }) }} -> {{ host_details | combine({host: {'node_detail': (host is match('^[a-zA-Z0-9]+$') | ternary(hostvars[host]['ansible_host'], host)), 'categories': hostvars[host]['Categories']}}) }}
Ansible Lint
Unexpected input(s) 'path', valid inputs are ['args', 'setup_python', 'working_directory', 'requirements_file', 'expected_return_code', 'gh_action_ref']
Ansible Lint
Unexpected input(s) 'path', valid inputs are ['args', 'setup_python', 'working_directory', 'requirements_file', 'expected_return_code', 'gh_action_ref']