class

Krikri::Lint::RunOnceRule

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

Upstream parity: ansible-lint's run-once rule (severity MEDIUM, tags idiom). run-once[task] for truthy run_once tasks; run-once[play] for strategy: free plays.

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