mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-15 19:58:28 +00:00
Use community.crypto 2.x.y on ubuntu2004.
This commit is contained in:
parent
c9835e9b65
commit
38591969dd
@ -10,6 +10,7 @@ IFS='/:' read -ra args <<< "$1"
|
|||||||
|
|
||||||
ansible_version="${args[0]}"
|
ansible_version="${args[0]}"
|
||||||
script="${args[1]}"
|
script="${args[1]}"
|
||||||
|
after_script="${args[2]}"
|
||||||
|
|
||||||
function join {
|
function join {
|
||||||
local IFS="$1";
|
local IFS="$1";
|
||||||
@ -73,6 +74,9 @@ COMMUNITY_CRYPTO_BRANCH=main
|
|||||||
if [ "${ansible_version}" == "2.16" ]; then
|
if [ "${ansible_version}" == "2.16" ]; then
|
||||||
COMMUNITY_CRYPTO_BRANCH=stable-2
|
COMMUNITY_CRYPTO_BRANCH=stable-2
|
||||||
fi
|
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"
|
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)
|
# 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