class

Krikri::Lint::ArgsModuleRule

Inherits Krikri::Lint::Rule < Reference < Object

Upstream parity: ansible-lint's args[module] rule (reported as a warning by upstream). Validates task params against the module's argument spec; core modules only (see arg_specs.cr). Reported at the task line with no column.

Constants

VALID_BOOLEANS = ["0", "1", "true", "false", "yes", "no", "on", "off", "y", "n", "t", "f"] of ::String

Instance methods

applies_to
Source
check(file : PositionedFile, violations : Array(Violation)) : Nil
Source
severity
Source
tags
Source
task_scoped?

Task-oriented: violations belong to an enclosing task, so a # noqa: anywhere in that task's body suppresses them.

Source