ansible / ansible.builtin / v2.9.27 / module / purefb_bucket Manage Object Store Buckets on a Pure Storage FlashBlade. | "added in version" 2.8 of ansible.builtin" Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com> preview | supported by communityansible.builtin.purefb_bucket (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module managess object store (s3) buckets on Pure Storage FlashBlade.
- name: Create new bucket named foo in account bar purefb_bucket: name: foo account: bar fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Delete bucket named foo in account bar purefb_bucket: name: foo account: bar state: absent fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Recover deleted bucket named foo in account bar purefb_bucket: name: foo account: bar state: present fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Eradicate bucket named foo in account bar purefb_bucket: name: foo account: bar state: absent eradicate: true fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
name: description: - Bucket Name. required: true type: str state: choices: - present - absent default: present description: - Create, delete or modifies a bucket. required: false type: str fb_url: description: - FlashBlade management IP address or Hostname. type: str account: description: - Object Store Account for Bucket. required: true type: str api_token: description: - FlashBlade API token for admin privileged user. type: str eradicate: default: false description: - Define whether to eradicate the bucket on delete or leave in trash. required: false type: bool