Skip to content

fix: linter

fix: linter #8

Triggered via pull request June 4, 2024 00:05
Status Failure
Total duration 49s
Artifacts

ansible.yml

on: pull_request
Ansible lint
40s
Ansible lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
schema[playbook]: setup.yml#L1
$[0].name None is not of type 'string'
command-instead-of-shell: setup.yml#L9
Use shell only when shell functionality is required.
no-changed-when: setup.yml#L9
Commands should not change things if nothing needs doing.
yaml[comments]: setup.yml#L17
Missing starting space in comment
yaml[comments]: setup.yml#L22
Missing starting space in comment
yaml[comments]: setup.yml#L27
Missing starting space in comment
yaml[truthy]: setup.yml#L35
Truthy value should be one of \[false, true]
no-free-form: setup.yml#L46
Avoid using free-form when calling module actions. (ansible.builtin.debug)
no-free-form: setup.yml#L58
Avoid using free-form when calling module actions. (ansible.builtin.debug)
yaml[line-length]: setup.yml#L59
Line too long (179 > 160 characters)
jinja[spacing]: setup.yml#L90
Jinja2 spacing could be improved: deb \[arch={{ deb_architecture.stdout}} signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable -> deb \[arch={{ deb_architecture.stdout }} signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable