diff options
author | Matt Clay <matt@mystile.com> | 2017-01-13 09:24:44 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2017-01-13 10:03:11 -0800 |
commit | c846e915f8e14f0f0f365aa225d98eca7f27e821 (patch) | |
tree | 852b4164cb5d36e614103aef443d9c6a4e746cad | |
parent | a93e7506a886d9ef3dacbcb2548c952b28640f8e (diff) | |
download | ansible-c846e915f8e14f0f0f365aa225d98eca7f27e821.tar.gz |
Correct freebsd startup test for CI.
-rwxr-xr-x | test/utils/shippable/remote.sh | 6 |
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 |