Hey everyone,

Working on an ACS config deployed via ansible using ngine_io.cloudstack
modules (https://galaxy.ansible.com/ngine_io/cloudstack)
I would like to deploy a secondary IP range in the management network only
for the use of system vms, is it possible to accomplish this via those
modules?

from what I could find the only submodule that configure networks and have
anything to do with system_vm_only check is cs_vlan_ip_range (
https://docs.ansible.com/ansible/latest/collections/ngine_io/cloudstack/cs_vlan_ip_range_module.html
)
but unfortunately examples are scarce and whatever i did try so far is not
working.

The code below shows an error that NETWORK var item is required but
PHYISICAL_NETWORK is passed in already so it does not make sense. -  name:
add secondary management network for system vms
      ngine_io.cloudstack.cs_vlan_ip_range:
        start_ip: 192.168.1.10
        end_ip: 192.168.1.20
        netmask: 255.255.255.0
        gateway: 192.168.1.1
        physical_network:  {{
zone.phyisical_network_with_management_label.id }}
        pod: "{{ pod.id }}"
        zone: "{{ zone.id }}"
        for_system_vms: true

 when i add the NETWORK var is added with a string value ("test" for
example) the error output is *Network not available*.

Is this possible at all with this module or is my configuration at fault?

Regards,
Jordan

Reply via email to