Switch async_extra_data test to inventory file.

pull/54207/head
Matt Clay 6 years ago
parent ade6977d66
commit 43bd8c4711

@ -0,0 +1 @@
localhost ansible_connection=ssh ansible_python_interpreter="{{ ansible_playbook_python }}"

@ -3,7 +3,7 @@
set -eux set -eux
# Verify that extra data before module JSON output during async call is ignored. # Verify that extra data before module JSON output during async call is ignored.
ANSIBLE_DEBUG=0 LC_ALL=bogus ansible-playbook test_async.yml -i localhost, -e ansible_connection=ssh -v "$@" ANSIBLE_DEBUG=0 LC_ALL=bogus ansible-playbook test_async.yml -i inventory -v "$@"
# Verify that the warning exists by examining debug output. # Verify that the warning exists by examining debug output.
ANSIBLE_DEBUG=1 LC_ALL=bogus ansible-playbook test_async.yml -i localhost, -e ansible_connection=ssh -v "$@" \ ANSIBLE_DEBUG=1 LC_ALL=bogus ansible-playbook test_async.yml -i inventory -v "$@" \
| grep 'bash: warning: setlocale: LC_ALL: cannot change locale (bogus)' > /dev/null | grep 'bash: warning: setlocale: LC_ALL: cannot change locale (bogus)' > /dev/null

Loading…
Cancel
Save