From c846e915f8e14f0f0f365aa225d98eca7f27e821 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 13 Jan 2017 09:24:44 -0800 Subject: Correct freebsd startup test for CI. --- test/utils/shippable/remote.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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 -- cgit v1.2.1