mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-30 20:23:49 +00:00
Adjust to https://github.com/ansible/ansible/commit/b1dd2af4cac9df517ce8216eaa97e66c0b15d90a. (#423)
This commit is contained in:
@@ -6,5 +6,8 @@ set -eux
|
|||||||
|
|
||||||
# Run connection tests with both the default and C locale.
|
# Run connection tests with both the default and C locale.
|
||||||
|
|
||||||
ansible-playbook test_connection.yml -i "${INVENTORY}" "$@"
|
ansible-playbook test_connection.yml -i "${INVENTORY}" "$@"
|
||||||
LC_ALL=C LANG=C ansible-playbook test_connection.yml -i "${INVENTORY}" "$@"
|
|
||||||
|
if ansible --version | grep ansible | grep -E ' 2\.(9|10|11|12|13)\.'; then
|
||||||
|
LC_ALL=C LANG=C ansible-playbook test_connection.yml -i "${INVENTORY}" "$@"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user