community.vmware.vmware_vcenter_settings_info – Gather info vCenter settings¶
Note
This plugin is part of the community.vmware collection (version 1.9.0).
To install it use: ansible-galaxy collection install community.vmware
.
To use it in a playbook, specify: community.vmware.vmware_vcenter_settings_info
.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7
PyVmomi
Parameters¶
Examples¶
- name: "Gather info about vCenter settings"
community.vmware.vmware_vcenter_settings_info:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
register: vcenter_settings_info
- name: "Gather some info from vCenter using the vSphere API output schema"
community.vmware.vmware_vcenter_settings_info:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
schema: vsphere
properties:
- config.workflow.port
register: vcenter_settings_info_vsphere_api
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
sky-joker (@sky-joker)