diff --git a/tools/gate/00_setup.sh b/tools/gate/00_setup.sh index 963b94203..b3aed3751 100755 --- a/tools/gate/00_setup.sh +++ b/tools/gate/00_setup.sh @@ -34,10 +34,12 @@ envsubst <"${AIRSHIPCTL_WS}/tools/gate/config_template.yaml" > "$PLAYBOOK_CONFIG # use new version of ansible, Ubuntu has old one sudo apt -y install software-properties-common python3-pip sudo apt -y --no-install-recommends install docker.io make + +ANSIBLE_PACKAGES="ansible netaddr" if [[ -z "${http_proxy}" ]]; then - sudo pip3 install ansible + sudo pip3 install $ANSIBLE_PACKAGES else - sudo pip3 --proxy "${http_proxy}" install ansible + sudo pip3 --proxy "${http_proxy}" install $ANSIBLE_PACKAGES fi echo "primary ansible_host=localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python3" > "$ANSIBLE_HOSTS"