vmware_vm_storage_policy_info – Gather information about vSphere storage profile defined storage policy information¶
New in version 2.9.
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
vmware_vm_storage_policy_info:
hostname: '{{ vcenter_hostname }}'
username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}'
validate_certs: no
delegate_to: localhost
register: profiles
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
Abhijeet Kasurde (@Akasurde)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.