community.general/tests/integration/targets/connection/test.sh

11 lines
266 B
Bash
Raw Normal View History

2020-03-09 09:11:07 +00:00
#!/usr/bin/env bash
set -eux
[ -f "${INVENTORY}" ]
# Run connection tests with both the default and C locale.
ansible-playbook test_connection.yml -i "${INVENTORY}" "$@"
LC_ALL=C LANG=C ansible-playbook test_connection.yml -i "${INVENTORY}" "$@"