cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Employee
Employee

Adding a VLAN to a gateway object using Ansible?

I'm using the new Ansible module to orchestrate my lab, and have noticed a quirk in the documentation. From https://docs.ansible.com/ansible/devel/modules/cp_mgmt_simple_gateway_module.html, there is a note on the interfaces item: "Network interfaces. When a gateway is updated with a new interfaces, the existing interfaces are removed."

Has anyone tried adding a VLAN using the official modules? I'm thinking it might just be easier to call a script that connects via ssh and adds it via CLI...

0 Kudos