echo "Installing Ansible"

sudo apt-get install ansible -y -o Dpkg::Options::="--force-confold" &>> $1

echo "Downloading CoreOS bootstrap packages"

ansible-galaxy install defunctzombie.coreos-bootstrap -p /vagrant/automation/ansible/roles &>> $1

echo "Updating CoreOS installation to have Python"

ansible-playbook /vagrant/automation/ansible/BootstrapCoreOSPython.yml &>> $1
