ansible.builtin.purefb_s3user (v2.9.27) — module

Create or delete FlashBlade Object Store account users

| "added in version" 2.8 of ansible.builtin"

Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com>

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Create or delete object store account users on a Pure Storage FlashBlade.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create object store user (with access ID and key) foo in account bar
  purefb_s3user:
    name: foo
    account: bar
    fb_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592
  register: result
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- debug:
    msg: "S3 User: {{ result['s3user_info'] }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete object store user foo in account bar
  purefb_s3user:
    name: foo
    account: bar
    state: absent
    fb_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592

Inputs

    
name:
    description:
    - The name of object store user
    type: str

state:
    choices:
    - absent
    - present
    default: present
    description:
    - Create or delete object store account user
    type: str

fb_url:
    description:
    - FlashBlade management IP address or Hostname.
    type: str

account:
    description:
    - The name of object store account associated with user
    type: str

api_token:
    description:
    - FlashBlade API token for admin privileged user.
    type: str

access_key:
    default: true
    description:
    - Create secret access key.
    - Key can be exposed using the I(debug) module
    type: bool