Files
runner-images/images/linux/scripts/installers/ansible.sh
Vladimir Safonkin 0ae118c6ae [Ubuntu] Create symlink for Pester test running (#2349)
* Create symlink for test running

* Fix 1604 and 2004 templates

* Fix php and haskell running

* Minor fix

* Fix new added tests

* Fix symlink

* Minor fix

* Fix script permissions

* Minor fix

* Fix firefox and rust tests

* Fix new merged tests
2020-12-30 09:57:11 +03:00

20 lines
575 B
Bash

#!/bin/bash -e
################################################################################
## File: ansible.sh
## Desc: Installs Ansible
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
# ppa:ansible/ansible doesn't contain packages for Ubuntu20.04
if isUbuntu16 || isUbuntu18 ; then
add-apt-repository ppa:ansible/ansible
apt-get update
fi
# Install latest Ansible
apt-get install -y --no-install-recommends ansible
invoke_tests "Tools" "Ansible"