Skip to content

improve linting

improve linting #3

Triggered via push February 21, 2024 20:22
Status Failure
Total duration 35s
Artifacts

lint.yaml

on: push
Ansible Lint
26s
Ansible Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
name[play]: playbook.yaml#L2
All plays should be named.
yaml[line-length]: playbook.yaml#L52
Line too long (167 > 160 characters)
var-naming[no-role-prefix]: roles/accounts/defaults/main.yml#L2
Variables names from within roles should use accounts_ as a prefix. (vars: enabled_users)
var-naming[no-role-prefix]: roles/accounts/defaults/main.yml#L3
Variables names from within roles should use accounts_ as a prefix. (vars: enabled_groups)
var-naming[no-role-prefix]: roles/accounts/defaults/main.yml#L4
Variables names from within roles should use accounts_ as a prefix. (vars: disabled_users)
var-naming[no-role-prefix]: roles/accounts/defaults/main.yml#L5
Variables names from within roles should use accounts_ as a prefix. (vars: disabled_groups)
var-naming[no-role-prefix]: roles/apt_packages/defaults/main.yml#L2
Variables names from within roles should use apt_packages_ as a prefix. (vars: installed_packages)
package-latest: roles/apt_packages/tasks/main.yml#L2
Package installs should not use latest.
var-naming[no-role-prefix]: roles/backups/defaults/main.yml#L2
Variables names from within roles should use backups_ as a prefix. (vars: backup_enabled)
var-naming[no-role-prefix]: roles/backups/defaults/main.yml#L3
Variables names from within roles should use backups_ as a prefix. (vars: backup_on_calendar)
args[module]: roles/cifs/handlers/main.yaml#L2
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
args[module]: roles/dask_gateway/handlers/main.yaml#L2
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
args[module]: roles/jupyterhub/handlers/main.yaml#L2
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
args[module]: roles/jupyterhub/handlers/main.yaml#L12
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
args[module]: roles/jupyterhub/handlers/main.yaml#L22
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
args[module]: roles/mysql/handlers/main.yaml#L2
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
args[module]: roles/openldap/handlers/main.yaml#L3
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
jinja[spacing]: roles/openldap/tasks/openldap.yaml#L20
Jinja2 spacing could be improved: slappasswd -s "{{openldap_bind_password}}" -> slappasswd -s "{{ openldap_bind_password }}"
args[module]: roles/postgresql/handlers/main.yaml#L2
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).
args[module]: roles/traefik/handlers/main.yaml#L2
Unsupported parameters for (basic.py) module: cmd. Supported parameters include: arguments, enabled, name, pattern, runlevel, sleep, state (args).