mirror of https://github.com/ansible/ansible.git
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.pull/4817/head
parent
5eab293421
commit
46554bbc30
Loading…
Reference in New Issue