#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install -y software-properties-common git mosh dnsutils | |
sudo add-apt-repository -y ppa:ansible/ansible | |
sudo apt-get update | |
sudo apt-get install -y ansible | |
[ -e ~/.ssh/id_rsa ] || ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa | |
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys |