Skip to content

Pure-Storage-Ansible/Pure1-Collection

Repository files navigation

Pure Storage Pure1 Collection

The Pure Storage Pure1 collection consists of the latest versions of the Pure1 modules.

Modules

Requirements

  • 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

Available Modules

  • 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

Instructions

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

Example Playbook

- 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>

License

BSD-2-Clause GPL-3.0-or-later

Author

This collection was created in 2020 by Simon Dodsley for, and on behalf of, the Pure Storage Ansible Team

About

Ansible Collection for Pure Storage Pure1

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING.GPLv3

Stars

Watchers

Forks

Packages

No packages published

Languages