community / community.general / 0.2.1 / module / sf_account_manager
Removed in 2.0.0
Reason:This Module has been replaced | Alternative:please use M(na_elementsw_account)
Manage SolidFire accounts
Authors: Sumit Kumar (@timuster) <sumit4@netapp.com>
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
Create, destroy, or update accounts on SolidFire
- name: Create Account sf_account_manager: hostname: "{{ solidfire_hostname }}" username: "{{ solidfire_username }}" password: "{{ solidfire_password }}" state: present name: TenantA
- name: Modify Account sf_account_manager: hostname: "{{ solidfire_hostname }}" username: "{{ solidfire_username }}" password: "{{ solidfire_password }}" state: present name: TenantA new_name: TenantA-Renamed
- name: Delete Account sf_account_manager: hostname: "{{ solidfire_hostname }}" username: "{{ solidfire_username }}" password: "{{ solidfire_password }}" state: absent name: TenantA-Renamed
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.