they are no official ansible playbook managed by proxmox team.
do you have a link to a public ansible playbook ?
sdn currently can be manage through rest api, but they are no command line like "qm , pct, pvesm, ...". (I don't known how ansible playbooks are implemented currently)
So, technically, it's already possible to implement the sdn features in ansible.
note that sdn it's still beta, but I think api are enough mature, and will not change in the future.
Maybe some new options for zone plugins will be added, but the main features (zones,vnets,controllers,..) will not change anymore.
Maybe try to request the feature on ansible github, I can give support for developpers if they have questions. (I'm not an python expert, so I can't code the feature myself)
Hello there, first of all sorry for bringing this topic back to life.
Two years later, with the new 8.1 release and the officialisation of the SDN plugin, I'm also wondering if someone made or heard about a way to manage proxmox SDN features through Ansible or OpenTofu ?
I'm not that good with Python and don't have a lot of time to start coding something but if there's an already existing project, I'll be happy to contribute
Hi everyone,
Coming back to you with this : https://github.com/Analepse129/proxmox-sdn-modules
It's still a work in progress but the base works.
I'm struggling a bit implementing the api options that are "enum" type, if you have ideas or example I'll be very happy to take them
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.