On 10. mars 2017 22:08, Roger Perkin wrote:
Thanks, tried that but it still skips the conditional check.

After checking the variable output I see that the
output.results[item.0].stdout_lines
contains a list of lists so you need to use

output.results[item.0].stdout_lines.0

--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cc3b1615-7c28-247a-3931-a259902d0ea4%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to