3 Posts

Ansible - BadHostKeyException

January 27, 2018 0 Comments ansible, cisco, ssh

When executing an ansible playbook, you may get the following error:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: paramiko.BadHostKeyException: Host key for server switch-name does not match!

This probably happened after you changed the name of your network device, and generated new RSA keys. Or, if you are using DNS

Ansible Installation - Ubuntu 16.04

July 23, 2017 0 Comments ansible

For network automation, I believe the best tool out there right now is Ansible. Ansible is open-source, agentless, has a large community, and is easy to get started quickly. For the major networking vendors, there are already pre-built modules making it simple to interface with their equipment. This post will focus on getting Ansible up and running on a Ubuntu