Deprecated

Removed in 2.0.0

i

Reason:This Module has been replaced | Alternative:please use M(netapp.elementsw.na_elementsw_account)

community.general.sf_account_manager (1.3.14) — module

Manage SolidFire accounts

Authors: Sumit Kumar (@timuster) <sumit4@netapp.com>

Install collection

Install with ansible-galaxy collection install community.general:==1.3.14


Add to requirements.yml

  collections:
    - name: community.general
      version: 1.3.14

Description

Create, destroy, or update accounts on SolidFire


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create Account
  community.general.sf_account_manager:
    hostname: "{{ solidfire_hostname }}"
    username: "{{ solidfire_username }}"
    password: "{{ solidfire_password }}"
    state: present
    name: TenantA
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Modify Account
  community.general.sf_account_manager:
    hostname: "{{ solidfire_hostname }}"
    username: "{{ solidfire_username }}"
    password: "{{ solidfire_password }}"
    state: present
    name: TenantA
    new_name: TenantA-Renamed
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete Account
  community.general.sf_account_manager:
    hostname: "{{ solidfire_hostname }}"
    username: "{{ solidfire_username }}"
    password: "{{ solidfire_password }}"
    state: absent
    name: TenantA-Renamed

Inputs

    
name:
    description:
    - Unique username for this account. (May be 1 to 64 characters in length).
    required: true

state:
    choices:
    - present
    - absent
    description:
    - Whether the specified account should exist or not.
    required: true

status:
    description:
    - Status of the account.

hostname:
    description:
    - The hostname or IP address of the SolidFire cluster.
    required: true

new_name:
    description:
    - New name for the user account.

password:
    aliases:
    - pass
    description:
    - Password for the specified user.
    required: true

username:
    aliases:
    - user
    description:
    - Please ensure that the user has the adequate permissions. For more information,
      please read the official documentation U(https://mysupport.netapp.com/documentation/docweb/index.html?productID=62636&language=en-US).
    required: true

account_id:
    description:
    - The ID of the account to manage or update.

attributes:
    description: List of Name/Value pairs in JSON object format.

target_secret:
    description:
    - CHAP secret to use for the target (mutual CHAP authentication).
    - Should be 12-16 characters long and impenetrable.
    - The CHAP target secrets must be unique and cannot be the same as the initiator CHAP
      secret.
    - If not specified, a random secret is created.

initiator_secret:
    description:
    - CHAP secret to use for the initiator. Should be 12-16 characters long and impenetrable.
    - The CHAP initiator secrets must be unique and cannot be the same as the target CHAP
      secret.
    - If not specified, a random secret is created.