Sandip Patel

Let's move from "Have to" to "Want to"

Menu
  • Home
  • TECH CORNER
    • AWS
    • Networking
  • Videos
  • Expert Talk Delivered
  • Projects
  • Publications
  • About Me
Menu

Installing Ansible on Ubuntu

Posted on March 7, 2019October 7, 2020 by Sandipkumar Patel

Open terminal

  1. sudo apt-get install software-properties-common
  2. sudo apt-add-repository ppa:ansible/ansible
  3. sudo apt-get update
  4. sudo apt install ansible

Go to /home/ubuntu

  1. gedit .bashrc
  2. add export LC_ALL= C in the .bashrc file
  3. go back to the terminal and run: source .bashrc

Go to /etc/ansible

  1. sudo apt-get install python-pip
  2. pip install -U boto
  3. pip install boto3

Now Create your ansible playbook using following command:

gedit test.yml

Run your ansible playbook using following command:

ansible-playbook test.yml

Follow Me

              

AWS Re: invent 2021 at Las Vegas

Achievements & Events

Faculty- Ambassador
Best Paper Presentation Award
AWS Academy Success Story on AWS official Blog
AWS Expert Talk 2020
USA-Conference
Paper Presentation
Conference-Team
AWS Expert Talk by IEEE 2020

RSS Recent Announcements

  • AWS Fargate for Amazon Elastic Kubernetes Service is now available in the Amazon Web Services China Beijing and Ningxia Regions June 24, 2022
  • Amazon EC2 Auto Scaling announces increased Auto Scaling group default limit per account June 24, 2022
  • Amazon EC2 G5 instances now available in additional regions June 23, 2022
  • Amazon EC2 C7g instances powered by AWS Graviton3 processors now available in US East (Ohio) and Europe (Ireland) June 23, 2022
  • Amazon Connect Wisdom now enables you to integrate agent assistance capabilities into custom agent applications June 23, 2022

Recent Posts

  • Deployment of Website Using AWS CICD pipeline & Fargate
  • Install terraform on ubuntu and Create EC2 instance on AWS using terraform script
  • Install Cloudwatch agent on on-premises Windows server
  • Install Cloudwatch agent on on-premises Linux server
  • Deploy Flask website using AWS CLI with AWS Lambda, AWS API Gateway and Zappa
March 2019
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Dec   Jan »
web counter
©2022 Sandip Patel | WordPress Theme by SuperbThemes