class

Krikri::InvalidTaskAttributeError

Inherits Exception < Reference < Object

A pre-2.x include-timeout hint attribute (static:) sitting beside a NON-include action. ansible-core's ModuleArgsParser resolves static as a task attribute (it belongs to TaskInclude/IncludeRole only), so it never conflicts with the action - the "conflicting action statements" shape was wrong for it (found via AerisCloud.repos's - include: amazon.yml + static: no, where the include-removed error must win instead). Beside any other module, ansible-core's own attribute validation refuses the whole playbook (rc=4, live-verified vs 2.19.11: - debug: + static: no): 'static' is not a valid attribute for a Task This error can be suppressed as a warning using the "invalid_task_attribute_failed" configuration with the Origin at the static: key itself. Carries the rendered stderr block for krikri-playbook.cr to print verbatim.

Constructors

new(message : String, render : String)
Source

Instance methods

render
Source