netapp_eseries.santricity.santricity_host lookup – Collects host 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_host.

Synopsis

  • Collects current host, expected host and host group inventory definitions.

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_host', key1=value1, key2=value2, ...) and query('netapp_eseries.santricity.santricity_host', key1=value1, key2=value2, ...)

Parameter

Comments

inventory

any / required

E-Series storage array inventory, hostvars[inventory_hostname].

Run na_santricity_facts prior to calling

volumes

any

Volume information returned from santricity_volume lookup plugin which expands

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.