class

Krikri::Lint::NoChangedWhenRule

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

Upstream parity: ansible-lint's no-changed-when (severity HIGH, tags command-shell/idempotency). Fires on command/shell/raw tasks with no changed_when, creates, removes, or async poll: 0.

Constants

COMMAND_MODULES = ["command", "shell", "raw"] 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