module

Krikri::InvocationInjection

Instance methods

enabled?(vars_context : Hash(String, JSON::Any) | Nil = nil) : Bool
Source
strip(result : JSON::Any) : JSON::Any

The inverse side of the same config: every result path that would otherwise carry invocation (a native plugin's own echo - copy, getent - or a real Python module's kwargs) must shed it when the setting is off, exactly as AnsibleModule._return_formatted pops it.

Source