Network Automation with Ansible vs Python


Network Automation with Ansible vs Python

What are the pros and cons of using Ansible for network automation instead of Python? And what can Python scripts offer that are not possible to achieve with Ansible?

3 Replies 3
Kind of a big deal
Kind of a big deal

I think it's more a matter of habit. Both are great, but I particularly use Python or PowerShell because I'm already used to them.
You should use whatever you think is best for you.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

Thanks for your reply and the link.

Kind of a big deal
Kind of a big deal

Ansible can be used to configure and deploy lots of different types and brands of devices automatically.  Ansible is actually written in Python.


The Meraki SDK has native support for Python, so if you are only working in a Meraki space, you'll typically find things easier to do using Python because it is a general-purpose programming language

Get notified when there are additional replies to this discussion.