1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

test failure runners

This commit is contained in:
Jerry Vonau 2025-02-18 01:32:48 -06:00
parent 5bcd0c9ded
commit afb5d356be
4 changed files with 8 additions and 3 deletions

View file

@ -290,6 +290,8 @@ EOF
# - 'apt -y install libffi-dev python3-dev'
# - painstaking pinning of cryptography or cffi (etc) to older version #s
/usr/local/ansible/bin/python3 -m pip install --prefer-binary --upgrade ansible-core
# test github runners fail without true
cp $CWD/collections.yml /usr/local/ansible/ || true
echo -e "\nCreate symlinks /usr/local/bin/ansible* -> /usr/local/ansible/bin/ansible*"
cd /usr/local/ansible/bin
for bin in ansible*; do
@ -300,10 +302,7 @@ EOF
# upgrade of collection and dependencies it pulls in. Note Ansible may support
# explicit upgrading of collections (--upgrade / -U flag) in version "2.11"
# with PR ansible/ansible#73336. See also IIAB PRs #2647 #2652 #2653 #2655.
echo "start is $CWD"
echo "current is $(pwd)"
echo -e "\n\nIIAB requires these ~4 Ansible Collections: (we upgrade them here if possible!)\n"
cp $CWD/collections.yml /usr/local/ansible/
cd /usr/local/ansible/
. bin/activate
bin/ansible-galaxy collection install --force-with-deps -r collections.yml -p collections