Hi all is there a way to make it so that "No hosts matched" becomes a FATAL 
error?


I'm using a CI job to kick off ansible to deploy something and in this case 
if it cannot find a host to deploy to, I want that to be a fatal error. 
Right now, ansible returns a zero exit code so the CI job succeeds and then 
people ask my why the job succeeded but the new code wasn't deployed.


Marc

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a1e921fc-3bc5-4d5a-86fe-6626abf85424%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to