#!/bin/bash

DIR=$(dirname $0)
cd $DIR

sudo apt update
sudo apt -y upgrade
sudo apt -y install openssh-server ansible
sudo ansible-playbook playbook.yml -D
sudo apt -y autoremove

# clean up
sudo rm -r ~/.ansible
