Ansible is used in networking, which many vendors having official modules:
* https://github.com/PaloAltoNetworks/ansible-pan
* https://github.com/aristanetworks/ansible-cvp
* https://www.juniper.net/documentation/en_US/junos-ansible/in...
* https://github.com/F5Networks/f5-ansible
There are even frameworks if you want to write things in 'raw' Python as well.