A topic that baffles me a bit:
Let's say that I store the output of the command (teamdctl teamname state dump) to a separate variable (using register).
command: teamdctl team0 state dump
If I check the type of state.stdout (with type_debug), I get AnsibleUndefined.
If I store state.stdout to a separate var (with set_fact), if I check the type of the var, then I get dict.
Of course, the second one is the expected one, in order to proceed with further processing.
Any ideas why this is happening?
Thanks in advance,