Revert installing Ansible from apt and try a different approach to reduce build times

This commit is contained in:
Salt 2021-08-01 12:50:59 -05:00
parent 00303ebcc1
commit 3cf945c58f

View File

@ -6,9 +6,8 @@ stages:
before_script:
# Get the packages we need
- apt-get update
- apt-get install gnupg openssh-client python3-docker python3-pip python-is-python3 wget -y
- apt-get install ansible ansible-lint -y
#- pip install ansible ansible-lint
- apt-get install gnupg openssh-client python3-cryptography python3-docker python3-pip python-is-python3 wget -y
- pip install ansible ansible-lint
# Dump our key
- eval $(ssh-agent -s)
- echo "$ANSIBLE_SSH_KEY" | tr -d '\r' | ssh-add -