ansible / ansible.builtin / v2.8.11 / module / purefb_snap Manage filesystem snapshots on Pure Storage FlashBlades | "added in version" 2.6 of ansible.builtin" Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com> preview | supported by communityansible.builtin.purefb_snap (v2.8.11) — module
pip
Install with pip install ansible==2.8.11
Create or delete volumes and filesystem snapshots on Pure Storage FlashBlades.
- name: Create snapshot foo.ansible purefb_snap: name: foo suffix: ansible fb_url: 10.10.10.2 fb_api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: present
- name: Delete snapshot named foo.snap purefb_snap: name: foo suffix: snap fb_url: 10.10.10.2 fb_api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: absent
- name: Recover deleted snapshot foo.ansible purefb_snap: name: foo suffix: ansible fb_url: 10.10.10.2 fb_api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: present
- name: Eradicate snapshot named foo.snap purefb_snap: name: foo suffix: snap eradicate: true fb_url: 10.10.10.2 fb_api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: absent
name: description: - The name of the source filesystem. required: true type: str state: choices: - absent - present default: present description: - Define whether the filesystem snapshot should exist or not. type: str fb_url: description: - FlashBlade management IP address or Hostname. type: str suffix: description: - Suffix of snapshot name. type: str api_token: description: - FlashBlade API token for admin privileged user. type: str eradicate: default: 'no' description: - Define whether to eradicate the snapshot on delete or leave in trash. type: bool