struct

Krikri::RoleBoolKeywords::Failure

Inherits Struct < Value < Object

One unconvertible keyword, as Ansible's error block needs it: the keyword's own name, the value in Python repr() form (the innermost chain link quotes a string value, prints an int bare - Ansible's message interpolates the value with repr(), live-verified), and the value's source position when the parser could resolve one.

Constructors

new(keyword : String, value_repr : String, origin : Tuple(Int32, Int32) | Nil = nil)
Source

Instance methods

brief

Ansible's collapsed brief - the whole chain joined with ": ", which is what the "[ERROR]:" line shows and what a fatal dump carries.

Source
conversion_message

Ansible's innermost cause link: "The value <repr> could not be converted to 'bool'."

Source
keyword
Source
keyword_message

Ansible's middle cause link: "Error processing keyword '<kw>'."

Source
origin
Source
origin=(origin : Tuple(Int32, Int32) | Nil)
Source
value_repr
Source