I wanted to capture the data present in the module_args.
But when I register the output in a variable, I don’t get the invocation{module_args} part in it.
The way we access ansible facts: {ansible facts[‘whatever you want to know’][‘xyz’]}
Is there a way to access the module_args in the playbook or use them in conditionals somehow?
when I register, the output I get is just the “msg” block, whereas I wish to capture the invocation/module_args block
The module_args block contains some information that I need to make use of.
This is not possible, mostly for security reasons, once in a variable
we have no way to secure secrets/passwords flagged as 'no_log' in the
action itself.