How to Install Ansible on Fedora 21 via Yum

Posted on by J. Mays | Updated:
Reading Time: < 1 minute

Ansible is an automation engine, similar to Chef or Puppet, that can be used to ensure deployment and configuration consistency across many servers, and keep servers and applications up-to-date. Though, unlike some other tools, Ansible does not require a client component/agent.

Pre-Flight Check
  • These instructions are intended specifically for installing Ansible, an automation tool, on Fedora 21.
  • I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as non-root user. If you need more information then visit our tutorial on How to Add a User and Grant Root Privileges on Fedora 21.

Step #1: The Installation

As a matter of best practice we’ll update our packages:

sudo yum -y update

Then let’s install Ansible and any required packages:

sudo yum -y install ansible

Step #2: Verify The Installation

Check the version of Ansible that is installed:

ansible --version

Which should yield something similar to:

ansible 1.7.2

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

How to use kill commands in Linux

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article

Change the root password in WebHost Manager (WHM)

Read Article