Creating VDS vlan portgroup with all security policies via ansible

Creating VDS vlan portgroup with all security policies via ansible

 

I create playbook to creating VDS (vSphere Distributed Switch). I use for this module called community.vmware.vmware_dvs_portgroup

Ansible documentation: https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_dvs_portgroup_module.html

Download playbook >> VDScreator

 

1.Before  run this playbook I need to install vmware collection by run “ansible-galaxy collection install community.vmware

 

2.  Create or download  VDScreator playbook and modify some password and vars.

 

3. Playbook  will create vlan portgroup with all security and port policies

 

4. To run playbook use: ansible-playbook ansible/VDScreator.yml command

 

5. Let’s check result on vCenter level.

 

Check general options

 

Check advanced options

Check security options

 

Please Subscribe

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *