Krikri::Lint::RiskyOctalRule
Inherits Krikri::Lint::Rule < Reference < Object
Upstream parity: ansible-lint's risky-octal (severity VERY_HIGH, tags formatting). Flags integer mode values that were meant as octal (e.g. mode: 755) by checking the same sanity conditions upstream's is_invalid_permission uses.
Constants
MODULES = ["assemble", "copy", "file", "ini_file", "lineinfile", "replace", "synchronize", "template", "unarchive"] of ::String
Upstream sees these as Python True after YAML 1.1 resolution (PyYAML/ruamel's resolver has no single-letter y/n). A True mode is 1, a False mode is 0 - both isinstance int to the rule.
Instance methods
applies_to
Sourceid
Sourceseverity
Sourcetags
Sourcetask_scoped?
Task-oriented: violations belong to an enclosing task, so a
# noqa: anywhere in that task's body suppresses them.