Hello all,
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).
Example:
command: teamdctl team0 state dump
register: state
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,
Chris
for me was bcs using similler name of tasks that skipped so was rewritten by failler task so make sure to debug it by print the register var
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.