Skip to content

ci: fix ansible lint #182

ci: fix ansible lint

ci: fix ansible lint #182

Triggered via pull request November 28, 2023 03:35
Status Failure
Total duration 46s
Artifacts

pre-commit-ansible.yaml

on: pull_request
pre-commit-ansible
38s
pre-commit-ansible
Fit to window
Zoom out
Zoom in

Annotations

10 errors
var-naming[no-reserved]: ansible/roles/ros2/tasks/main.yaml#L57
Variables names must not be Ansible reserved names. (environment) (set_fact: environment)
risky-file-permissions: ansible/roles/ros2/tasks/main.yaml#L86
File permissions unset or incorrect.
key-order[task]: ansible/roles/ros2/tasks/main.yaml#L96
You can improve the task key order to: name, vars, when, block
name[template]: ansible/roles/ros2/tasks/main.yaml#L98
Jinja templates should only be at the end of 'name'
fqcn[action-core]: ansible/roles/ros2/tasks/main.yaml#L103
Use FQCN for builtin module actions (shell).
name[template]: ansible/roles/ros2/tasks/main.yaml#L103
Jinja templates should only be at the end of 'name'
no-changed-when: ansible/roles/ros2/tasks/main.yaml#L103
Commands should not change things if nothing needs doing.
key-order[task]: ansible/roles/ros2/tasks/main.yaml#L117
You can improve the task key order to: name, vars, when, block
name[template]: ansible/roles/ros2/tasks/main.yaml#L119
Jinja templates should only be at the end of 'name'
fqcn[action-core]: ansible/roles/ros2/tasks/main.yaml#L124
Use FQCN for builtin module actions (set_fact).