mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-18 12:52:37 +00:00
Use community.crypto 2.x.y on ubuntu2004.
(cherry picked from commit 38591969dd)
This commit is contained in:
parent
26ffe94070
commit
6c1e04094f
@ -10,6 +10,7 @@ IFS='/:' read -ra args <<< "$1"
|
||||
|
||||
ansible_version="${args[0]}"
|
||||
script="${args[1]}"
|
||||
after_script="${args[2]}"
|
||||
|
||||
function join {
|
||||
local IFS="$1";
|
||||
@ -73,6 +74,9 @@ COMMUNITY_CRYPTO_BRANCH=main
|
||||
if [ "${ansible_version}" == "2.16" ] || [ "${ansible_version}" == "2.15" ]; then
|
||||
COMMUNITY_CRYPTO_BRANCH=stable-2
|
||||
fi
|
||||
if [ "${script}" == "linux" ] && [ "$after_script" == "ubuntu2004" ]; then
|
||||
COMMUNITY_CRYPTO_BRANCH=stable-2
|
||||
fi
|
||||
|
||||
retry git clone --depth=1 --single-branch --branch stable-1 https://github.com/ansible-collections/community.library_inventory_filtering.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/library_inventory_filtering_v1"
|
||||
# NOTE: we're installing with git to work around Galaxy being a huge PITA (https://github.com/ansible/galaxy/issues/2429)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user