Ansible IT automation

Ansible is an IT automation and configuration management tool. Of all the most popular Free Software applications of its kind, it is the only one that operates in agentless mode. Chef, CFEngine and Puppet need agents on the client nodes to function.

Ansible operates via SSH, so you don’t need to install any code on the client nodes.

A few minutes ago I was testing a connection to one of the client nodes that I intend to manage with Ansible when it returned the message shown in this screenshot. I was using SSH keys for authentication.
Ansible IT automation

Related Post:  Dual-booting PC-BSD 8.2 and Windows 7

Unfortunately, Ansible does not write to a log file by default, so the error message you see on the screen is all you get. Even when logging is enabled, what’s written to standard output is also what’s written to the log file. Ansible-gurus will likely recognize right away what the cause was, but I had to spend a few minutes looking things over before I figured out what the heck was up: I ran the command from the wrong user account.

Related Post:  What the future holds for PC-BSD

Yep, I could still have run the command as root, but use the -u switch to have it run as a specific user, like so: ansible all -m ping -u finid. That would have done the trick.

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Leave a Reply

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

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.