install_terraform_packer
Object
A simple Bash script to install Terrafor and packer on a Ubuntu.
Tested for
- Ubuntu 16.04 LTS
Install prequisits: Git
sudo apt update
sudo apt upgrade -y
sudo apt install git -y
Clone bash script from GIT
mkdir ~/scripts
cd ~/scripts
git clone https://github.com/redbeard28/install_terraform_packer.git
Run the script
cd ~/scripts/install_terraform_packer.sh
chmod 755 install_terraform_packer.sh
./install_terraform_packer.sh
Ansible installation
I added to the end of the script installation for ansible.
# Optional: If you need ansible like me.
sudo apt-add-repository ppa:ansible/ansible -y
sudo apt-get update
sudo apt-get install ansible -y
Url to the doc is
Documentation for install terraform packer and ansible