summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-01-13 09:24:44 -0800
committerMatt Clay <matt@mystile.com>2017-01-13 10:03:11 -0800
commitc846e915f8e14f0f0f365aa225d98eca7f27e821 (patch)
tree852b4164cb5d36e614103aef443d9c6a4e746cad /test
parenta93e7506a886d9ef3dacbcb2548c952b28640f8e (diff)
downloadansible-c846e915f8e14f0f0f365aa225d98eca7f27e821.tar.gz
Correct freebsd startup test for CI.
Diffstat (limited to 'test')
-rwxr-xr-xtest/utils/shippable/remote.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/utils/shippable/remote.sh b/test/utils/shippable/remote.sh
index 9901f8e20f..7f39ad10ff 100755
--- a/test/utils/shippable/remote.sh
+++ b/test/utils/shippable/remote.sh
@@ -99,13 +99,15 @@ case "${test_platform}" in
inventory_template="${source_root}/test/integration/inventory.winrm.template"
inventory_file="${source_root}/test/integration/inventory.winrm"
ping_module="win_ping"
+ ping_args=""
ping_host="windows"
test_function="test_windows"
;;
*)
inventory_template="${source_root}/test/integration/inventory.remote.template"
inventory_file="${source_root}/test/integration/inventory.remote"
- ping_module="ping"
+ ping_module="raw"
+ ping_args="id"
ping_host="remote"
test_function="test_remote"
;;
@@ -124,7 +126,7 @@ for i in $(seq 1 ${n}); do
ANSIBLE_SSH_ARGS='' \
ANSIBLE_HOST_KEY_CHECKING=False \
ANSIBLE_FORCE_COLOR="${force_color}" \
- ansible -m "${ping_module}" -i "${inventory_file}" "${ping_host}"; then
+ ansible -m "${ping_module}" -a "${ping_args}" -i "${inventory_file}" "${ping_host}"; then
break
fi
sleep 5