How to Install and Configure ‘Ansible’ Automation Tool for IT Management – Part 1

Page 1 of 212

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

41 Responses

  1. Isuru Wickramarathne says:

    #8 command should be -> ansible all -m ping

  2. Rajesh Kathar says:

    Hello Team,

    On Production server, We can’t provide internet access to server. I have download ansible.tar file. Can you suggest me the steps to install ?

    Regards,
    Rajesh kathar

  3. Arun says:

    192.168.0.25 | UNREACHABLE! => {
    “changed”: false,
    “msg”: “Failed to connect to the host via ssh: Permission denied (publickey,password).\r\n”,
    “unreachable”: true
    }
    192.168.4.23 | UNREACHABLE! => {
    “changed”: false,
    “msg”: “Failed to connect to the host via ssh: ssh: connect to host 192.168.4.23 port 22: Connection timed out\r\n”,
    “unreachable”: true
    }

    • Shivaji Thanneeru says:

      I got the same error. I fixed it by
      1) installing python on remote servers
      2) Adding the following line to /etc/ansible/hosts ( my user is shivaji )
      ansible_user=shivaji
      [web-servers]
      192.168.1.200
      192.168.1.201

    • @Arun,

      Have you tried ssh-add, ssh-agent?

      Regards,
      Babin Lonston

    • prashantcruise says:

      my be your network (server )is not reachable or you havent copy ssh-key for password less login or defined user havent any key to that server.

  4. Kamil Monticolo says:

    Hi, I created script that installa Ansible on SuSe SLES11
    https://github.com/kmonticolo/Ansible-on-SLES11

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *