How to Install Ansible in Amazon Linux Machine

Share via:

How to Install Ansible in Amazon Linux Machine

Dear Readers,

In this article,we will see Install Ansible in Amazon Linux Machine.

Steps to Follow

  1. Launch Ansible Machine.
  2. Connect to Ansible Linux EC2 Terminal through Putty.
  3. Switch to root user.
  4. Update Server Packages.
  5. Install the ansible.

1. Launch Ansible Machine

we need to open SSH and HTTP ports.
Please check below link to Launch Linux EC2 Instance.

Launch Linux EC2 Instance

Select an Existing Server called “Ansible ”

2. Connect to Ansible Linux EC2 Terminal through Putty

3.Switch to root user

4. Update Server Packages

5. Install the ansible 

It we install Ansible we need to follow below pre-requisites.

  • Download epel repository.
  • Install epel repository.
  • Update epel repository.
  • Install all individual packages inside the repository.

Download epel repository

Verify epel repository

Install epel repository

Update epel repository

Install all individual packages inside the repository

Verify Version of Ansible

Thank you for giving your valuable time to read the above information.
Follow us on 
Website  www.ktexperts.com
Facebook Page KTexperts
Linkedin Page : KT EXPERTS

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 3.75 out of 5)
Loading...

Add Comment