On 07. juli 2017 17:10, Drew Merryman wrote:
I have read the documentation under http://docs.ansible.com/ansible/list_of_cloud_modules.html#vmware and looked at the vmware_portgroup and the vmware_dvs_portgroup modules, however these seem to only deal with explicitly creating/removing portgroups. Is there a way I could see the configuration of a portgroup, or even look at an existing vSwitch?
Ansible is a configuration management tool not a reporting tool, so see configuration is out of Ansibles scope.
In Ansible you say how you would like your vswitches and portgroups to be and Ansible make the necessary changes.
To see the configuraton, use Vcenter, embeded client, esxcli or some other tool.
(with Ansible raw module and esxcli command you can get this information out of the esx)
-- Kai Stian Olstad -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4e8b5dd5-1a58-30e2-b1bd-a55c4b68d52a%40olstad.com. For more options, visit https://groups.google.com/d/optout.
