Created
January 31, 2020 20:56
-
-
Save bard86/3449008c8d2bc021eab33a0fd307f693 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
sudo apt-add-repository ppa:ansible/ansible | |
sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list' | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install python -y | |
sudo apt-get install python-pip -y | |
sudo apt-get install ansible -y | |
curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb | |
sudo apt install ./vagrant_2.2.6_x86_64.deb | |
wget https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_linux_amd64.zip -O /tmp/terraform.zip | |
sudo unzip -o -d /usr/local/bin /tmp/terraform.zip | |
rm /tmp/terraform.zip | |
wget https://releases.hashicorp.com/packer/1.5.1/packer_1.5.1_linux_amd64.zip -O /tmp/packer.zip | |
sudo unzip -o -d /usr/local/bin /tmp/packer.zip | |
rm /tmp/packer.zip | |
sudo apt install virtualbox-6.0 | |
curl -L "$(curl -Ls https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" -o /tmp/tflint.zip | |
sudo unzip -o -d /usr/local/bin /tmp/tflint.zip | |
rm /tmp/tflint.zip | |
pip install --user ansible-lint | |
pip install --user trytravis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment