mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
b7741a0ade
* use python3 and pip3 * upgrade to ansible 2.8.4 * set ansible_python_interpreter * fix: enable debian sources when haven't found them * updates to changelog
25 lines
675 B
Bash
Executable File
25 lines
675 B
Bash
Executable File
#!/bin/sh
|
|
## Script is specifically for use on travis-ci
|
|
|
|
set -e
|
|
|
|
## This is an example setup script that you would encapsulate the installation
|
|
# What version of avm setup to use
|
|
echo "Setting up Ansible Version Manager"
|
|
AVM_VERSION="v1.0.0"
|
|
## Install Ansible using pip and label it
|
|
export ANSIBLE_VERSIONS_0="2.8.4.0"
|
|
export INSTALL_TYPE_0="pip"
|
|
export ANSIBLE_LABEL_0="v2.8"
|
|
# Whats the default version
|
|
export ANSIBLE_DEFAULT_VERSION="v2.8"
|
|
|
|
## Create a temp dir to download avm
|
|
avm_dir="$(mktemp -d 2> /dev/null || mktemp -d -t 'mytmpdir')"
|
|
git clone https://github.com/ahelal/avm.git "${avm_dir}" > /dev/null 2>&1
|
|
|
|
## Run the setup
|
|
/bin/sh ${avm_dir}/setup.sh
|
|
|
|
exit 0
|