Enable the pull target to work in vvvv mode (#33755)

This commit is contained in:
jctanner 2017-12-11 10:09:21 -05:00 committed by GitHub
parent 4349b56643
commit 8a4e761814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,12 @@ if ! grep MAGICKEYWORD "${temp_log}"; then
fi fi
# test for https://github.com/ansible/ansible/issues/13681 # test for https://github.com/ansible/ansible/issues/13681
if grep '127\.0\.0\.1' "${temp_log}"; then if egrep '127\.0\.0\.1.*ok' "${temp_log}"; then
echo "Found host 127.0.0.1 in output. Only localhost should be present." echo "Found host 127.0.0.1 in output. Only localhost should be present."
exit 1 exit 1
fi fi
# make sure one host was run
if ! egrep 'localhost.*ok' "${temp_log}"; then
echo "Did not find host localhost in output."
exit 1
fi