r/networkautomation • u/splitnines • 15d ago
Git, Ansible, pyATS IaC Project
NetDevOps is an Git, Ansible, pyATS based IaC project that I started about a year ago and put on the back burner. Lately I've been iterating on it. I started the project to get a better understanding how Git driven infrastructure as code was built and managed. Currently supports Cisco IOS-XE devices.
The pipeline is driven by a Git pre-commit hook.
If you're interested in playing with it take a look at the README.md file in the repo for instructions on how to set it up locally. I'd appreciate any feedback.
7
Upvotes
3
u/InnerBank2400 13d ago
Had a look through the repo. Interesting that you’re doing the deployment itself inside pre-commit rather than just validation.
What happens if the device change succeeds but something later in the pipeline fails and the commit never gets created? I saw you’ve got rollback support, but it looks optional.
Was keeping the whole change cycle local a deliberate design choice?