Note
This plugin is part of the community.general collection.
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.sf_account_manager
.
version 2.0.0
This Module has been replaced
please use netapp.elementsw.na_elementsw_account
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
account_id string | The ID of the account to manage or update. | |
attributes string | List of Name/Value pairs in JSON object format. | |
hostname string / required | The hostname or IP address of the SolidFire cluster. | |
initiator_secret string | 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. | |
name string / required | Unique username for this account. (May be 1 to 64 characters in length). | |
new_name string | New name for the user account. | |
password string / required | Password for the specified user. aliases: pass | |
state string / required |
| Whether the specified account should exist or not. |
status string | Status of the account. | |
target_secret string | 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. | |
username string / required | Please ensure that the user has the adequate permissions. For more information, please read the official documentation https://mysupport.netapp.com/documentation/docweb/index.html?productID=62636&language=en-US. aliases: user |
Note
- name: Create Account community.general.sf_account_manager: hostname: "{{ solidfire_hostname }}" username: "{{ solidfire_username }}" password: "{{ solidfire_password }}" state: present name: TenantA - 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 - name: Delete Account community.general.sf_account_manager: hostname: "{{ solidfire_hostname }}" username: "{{ solidfire_username }}" password: "{{ solidfire_password }}" state: absent name: TenantA-Renamed
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/sf_account_manager_module.html