Usually ansible playbook task fails when there's no host found when using 
static inventory. But when using EC2.py and when there's no host returns 
playbook doesn't fail which prevents us from notifying that task has not 
been run on particular instance with automated tasks.

Below is the output of playbook when no host found


PLAY RECAP 
*********************************************************************

Finished: SUCCESS


Have anyone come across this issue or is there's any option to change its 
behaviour

Thanks
Irfad

-- 
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/e610e617-3f36-4950-a2b5-cbadd24c7a50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to