diff options
author | Jesse Keating <jesse.keating@rackspace.com> | 2013-11-06 06:37:31 +0100 |
---|---|---|
committer | Jesse Keating <jesse.keating@rackspace.com> | 2013-11-06 17:08:21 +0100 |
commit | 46554bbc30d00a91e96fc0b7e051d5c33cf9d0d3 (patch) | |
tree | 64a37551da2bc2d5877fc10ccab16926184ddca3 /examples | |
parent | Merge pull request #4811 from dragon3/duplicate_download_s3file (diff) | |
download | ansible-46554bbc30d00a91e96fc0b7e051d5c33cf9d0d3.tar.xz ansible-46554bbc30d00a91e96fc0b7e051d5c33cf9d0d3.zip |
Exit 0 with no matched hosts
And also print to stdout not err
This lines up with how ansible-playbook will exit. 0 in the case of no
matched hosts. This makes it easier to script ansible commands w/
variable iventory input which may or may not have an entry for the
specific ansible task being scripted. No matched hosts is acceptable,
but matched hosts w/ failures is not.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions