Skip to content

Instantly share code, notes, and snippets.

@LaurentDumont
Created December 23, 2018 00:04
Show Gist options
  • Save LaurentDumont/19a18f53e87f4048cde97c64625d835e to your computer and use it in GitHub Desktop.
Save LaurentDumont/19a18f53e87f4048cde97c64625d835e to your computer and use it in GitHub Desktop.
Shell Script - Install Ansible
#Install Ansible
#!/bin/bash
sudo apt-get install dirmngr
echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/ansible.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
sudo apt-get update
sudo apt-get install ansible -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment