Open ggiesen opened 2 years ago
I tried a state file that looks like this:
{% for host in ['hv01', 'hv02', 'hv03'] %} saltmod_dvswitch_add_hosts_dvs-storage_{{ host }}: module.run: - vmware_dvswitch.add_hosts: - switch_name: DVS-STORAGE - datacenter_name: DC - cluster_name: CLUSTER - host_name: {{ host }} - nics: - vmnic2 - vmnic3 {% endfor %}
And instead of attaching the hosts to a distributed vSwitch named DVS-STORAGE, it's actually creating a standard vSwitch on each host and attaching to that instead.
DVS-STORAGE
Thanks for the report! Added this to the backlog 👍
I tried a state file that looks like this:
And instead of attaching the hosts to a distributed vSwitch named
DVS-STORAGE
, it's actually creating a standard vSwitch on each host and attaching to that instead.