In the when clause use something like ad_join_status.stdout_lines[0] 
 
to check what it needs to be add

    - debug
        var: ad_join_status

and see what is there

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f4201a25-0870-4da0-b78c-d00409393e19%40googlegroups.com.

Reply via email to