The Pure Storage Pure1 collection consists of the latest versions of the Pure1 modules.
- Ansible 2.15.0 or later
- Authorized API Application ID for Pure Storage Pure1 and associated Private Key Refer to Pure Storage documentation on how to create these.
- python >= 3.9
- py-pure-client
- datetime
- pure1_alerts - Get alerts from Pure1
- pure1_array_tags - Manage array tags for managed devices in Pure1
- pure1_info - Get information on fleet configuration
- pure1_nics - Get network interface information from Pure1
- pure1_pods - Get FlashArray pod information from Pure1
- pure1_ports - Get port information from Pure1
- pure1_volumes - Get FlashArray volume information from Pure1
Install the Pure Storage Pure1 collection on your Ansible management host.
- Using ansible-galaxy (Ansible 2.9 or later):
ansible-galaxy collection install purestorage.pure1 -p ~/.ansible/collections
- hosts: localhost
collections:
- purestorage.pure1
tasks:
- name: Collect information for Pure Storage fleet in Pure1
pure1_info:
gather_subset: all
app_id: <Pure1 API Application ID>
key_file: <private key file name>
password: <private key password>
This collection was created in 2020 by Simon Dodsley for, and on behalf of, the Pure Storage Ansible Team