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