ansible / ansible.builtin / v2.6.17 / module / purefa_pgsnap Manage protection group snapshots on Pure Storage FlashArrays | "added in version" 2.6 of ansible.builtin" Authors: Simon Dodsley (@sdodsley) preview | supported by communityansible.builtin.purefa_pgsnap (v2.6.17) — module
pip
Install with pip install ansible==2.6.17
Create or delete protection group snapshots on Pure Storage FlashArray.
- name: Create protection group snapshot foo.ansible purefa_pgsnap: name: foo suffix: ansible fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: present
- name: Delete and eradicate protection group snapshot named foo.snap purefa_pgsnap: name: foo suffix: snap eradicate: true fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: absent
name: description: - The name of the source protection group. required: true state: choices: - absent - present default: present description: - Define whether the protection group snapshot should exist or not. fa_url: description: - FlashArray management IPv4 address or Hostname. required: true type: str suffix: description: - Suffix of snapshot name. api_token: description: - FlashArray API token for admin privileged user. required: true type: str eradicate: default: 'no' description: - Define whether to eradicate the snapshot on delete or leave in trash. type: bool