Forum Discussion

jvinasmarco's avatar
jvinasmarco
Novice I
9 months ago

hi barkz I want to start using the FlashArray

hi barkz I want to start using the FlashArray REST client python module to collect capacity data and array usage. I am looking for some examples, other than what is available in *Pure Storage FlashArray REST Client Documentation.*
  • jvinasmarco what is the document you are referring to? All the Pure Ansible documentation is rolled into the main Ansible docs, including examples on how to call the modules: https://docs.ansible.com/ansible/latest/collections/purestorage/
  • Hi Jose! you can find examples in this GitHub repository. https://github.com/PureStorage-OpenConnect/python-scripts
  • Another option would be to use the pre-existing Ansible integration for FlashArray that can expose all the information you need.
  • hi simon, I would love to get more info about Ansible for Pure. I am not an Ansible expert but the doc I have reviewed seems complex and outdated to me.
  • hi simon you cannot use API clients to authenticate with Ansible, can you?
  • jvinasmarco no - API clients are something different