You are here

howto: install ansible on centos

ansible is configuration and management tool like puppet or chef or salt. its advantage over other solutions is the fact that it doesnt need agents on its clients; it can connect to them over ssh and just as there are no agents, a primary server is not required. think of it of the next generation of clusterssh

to install ansible is pretty easy. its a 2 step process:

ansible is available from the epel repository so we install the epel repo with the following command

yum -y install epel-release

and then we install ansible

yum -y install ansible

you can now verify ansible is working by running this command

ansible -m setup `hostname`

ansible should respond with

No hosts matched