netapp_eseries.santricity.santricity_storage_pool lookup – Storage pool information
Note
This lookup plugin is part of the netapp_eseries.santricity collection (version 1.4.1).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netapp_eseries.santricity
.
To use it in a playbook, specify: netapp_eseries.santricity.santricity_storage_pool
.
Synopsis
Retrieves storage pool information from the inventory
Keyword parameters
This describes keyword parameters of the lookup. These are the values key1=value1
, key2=value2
and so on in the following
examples: lookup('netapp_eseries.santricity.santricity_storage_pool', key1=value1, key2=value2, ...)
and query('netapp_eseries.santricity.santricity_storage_pool', key1=value1, key2=value2, ...)
Parameter |
Comments |
---|---|
Define the state of storage pool. Choices:
|
Examples
- name: set facts for storage pool to be absent
ansible.builtin.set_fact:
absent_storage_pool: "{{ lookup('netapp_eseries.santricity.santricity_storage_pool', hostvars[inventory_hostname], state='absent') }}"