ansible / ansible.builtin / v2.9.3 / module / purefa_vg Manage volume groups on Pure Storage FlashArrays | "added in version" 2.9 of ansible.builtin" Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com> preview | supported by communityansible.builtin.purefa_vg (v2.9.3) — module
pip
Install with pip install ansible==2.9.3
Create, delete or modify volume groups on Pure Storage FlashArrays.
- name: Create new volume group purefa_vg: vgroup: foo fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
- name: Destroy volume group purefa_vg: vgroup: foo fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: absent
- name: Recover deleted volume group purefa_vg: vgroup: foo fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592
- name: Destroy and Eradicate volume group purefa_vg: vgroup: foo eradicate: true fa_url: 10.10.10.2 api_token: e31060a7-21fc-e277-6240-25983c6c4592 state: absent
state: choices: - absent - present default: present description: - Define whether the volume group should exist or not. type: str fa_url: description: - FlashArray management IPv4 address or Hostname. required: true type: str vgroup: description: - The name of the volume group. required: true type: str api_token: description: - FlashArray API token for admin privileged user. required: true type: str eradicate: default: 'no' description: - Define whether to eradicate the volume group on delete and leave in trash. type: bool