The - is an implicit AND so you are doing X OR AND Y OR AND Z.
remove the - and make it all one string:
when: - "'Waiting' in print_showswitch.stdout[0]" or
'Progressing' in print_showswitch.stdout[0]" or
'Initializing' in print_showswitch.stdout[0]"
--
----------
Brian Coca
--
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/CACVha7etsGpVVimYE6FM7gA1BNNonnq704FYxEu6f7kxToQZMg%40mail.gmail.com.