mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-31 15:53:09 +00:00
Enable the pull target to work in vvvv mode (#33755)
This commit is contained in:
@@ -30,7 +30,12 @@ if ! grep MAGICKEYWORD "${temp_log}"; then
|
||||
fi
|
||||
|
||||
# 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."
|
||||
exit 1
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user