mirror of https://github.com/ansible/ansible.git
add ignore_errors to fix keyword arg warning (#15668)
When running an ad hoc command with --tree that fails a keyword argument error is produced. ```shell ansible-server$ ansible server1 -a "/bin/false" -t temp server1 | FAILED | rc=1 >> [WARNING]: Failure when attempting to use callback plugin (</Library/Python/2.7/site-packages/ansible/plugins/callback/tree.CallbackModule object at 0x10f6f1dd0>): v2_runner_on_failed() got an unexpected keyword argument 'ignore_errors' ``` Seems that the `v2_runner_on_failed()` call is missing "ignore_errors=False" parameter. Without this fix --tree will not work when ad hoc commands fail.pull/15670/head
parent
51087d2e63
commit
a724bcc5f3
Loading…
Reference in New Issue