Skip to content

Instantly share code, notes, and snippets.

@shivanshthapliyal
Last active April 12, 2020 10:54
Show Gist options
  • Save shivanshthapliyal/a3f221904dab6eafdb4965903ed33afb to your computer and use it in GitHub Desktop.
Save shivanshthapliyal/a3f221904dab6eafdb4965903ed33afb to your computer and use it in GitHub Desktop.
Ansible Essentials

Ansible Essentials

Author: Shivansh Thapliyal

Contents

Installation

Amazon Linux 2

sudo su
yum update
yum install -y git
cd /usr/local/src
yum -y install git python-jinja2 python-paramiko PyYAML make MySQL-python
git clone git://github.com/ansible/ansible.git
cd ansible

(You can now checkout to the version you want to install)

git submodule update --init --recursive
make install
CTRL + D

Using yum:

sudo yum install ansible

Using amazon-linux-extras:

sudo amazon-linux-extras install ansible2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment