mirror of https://github.com/ansible/ansible.git
Vagrant inventory: exit 0 on success
Current code has sys.exit(1) at the end of the codepath for the options --help, --list and --host. These are not error conditions so should be returning 0 for success, not 1 which is EPERM i.e. "Operation not permitted". Newer Vagrant versions examine the exit codes from subprocesses and interpret this as a failure.pull/10574/head
parent
1ae5b9292c
commit
3a70affb9a
Loading…
Reference in New Issue