Skip to content

Instantly share code, notes, and snippets.

@ualmtorres
Created April 8, 2019 12:12
Show Gist options
  • Save ualmtorres/04f3044594663006a71da3bad848e676 to your computer and use it in GitHub Desktop.
Save ualmtorres/04f3044594663006a71da3bad848e676 to your computer and use it in GitHub Desktop.
Post install script to install Ansible on OpenStack instances
#!/bin/bash
echo "Install Python"
apt-get update
apt-get install -y python-minimal
echo "Install Ansible"
apt-get install -y software-properties-common
apt-add-repository --yes --update ppa:ansible/ansible
apt-get install -y ansible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment