community.vmware.vmware_vm_storage_policy_info – Gather information about vSphere storage profile defined storage policy information.¶
Note
This plugin is part of the community.vmware collection (version 1.7.0).
To install it use: ansible-galaxy collection install community.vmware
.
To use it in a playbook, specify: community.vmware.vmware_vm_storage_policy_info
.
Synopsis¶
Returns basic information on vSphere storage profiles.
A vSphere storage profile defines storage policy information that describes storage requirements for virtual machines and storage capabilities of storage providers.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.6
PyVmomi
Parameters¶
Examples¶
- name: Get SPBM info
community.vmware.vmware_vm_storage_policy_info:
hostname: '{{ vcenter_hostname }}'
username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}'
delegate_to: localhost
register: profiles
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Abhijeet Kasurde (@Akasurde)