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

state

string

Define the state of storage pool.

Choices:

  • "absent"

  • "present"

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') }}"

Authors

  • Nathan Swartz (@swartzn)

  • Vu Tran (@VuTran007)

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.