|
|
@ -6,13 +6,10 @@ set -e
|
|
|
|
function update_linux() {
|
|
|
|
function update_linux() {
|
|
|
|
sudo apt-get update -qq
|
|
|
|
sudo apt-get update -qq
|
|
|
|
sudo apt-get install -qq python-apt python-pycurl git python-pip build-essential autoconf rpm
|
|
|
|
sudo apt-get install -qq python-apt python-pycurl git python-pip build-essential autoconf rpm
|
|
|
|
gem update --system
|
|
|
|
|
|
|
|
gem install bundler
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function install_ansible {
|
|
|
|
function install_ansible {
|
|
|
|
bash .ci/ansible-setup.sh
|
|
|
|
bash .ci/ansible-setup.sh
|
|
|
|
bundle install
|
|
|
|
|
|
|
|
# pyOpen, ndg-* and pyasn1 are for 'InsecurePlatformWarning' error
|
|
|
|
# pyOpen, ndg-* and pyasn1 are for 'InsecurePlatformWarning' error
|
|
|
|
~/.avm/v2.3/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
|
|
|
|
~/.avm/v2.3/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
|
|
|
|
~/.avm/v2.5/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
|
|
|
|
~/.avm/v2.5/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1
|
|
|
|