sf_account_manager - Manage SolidFire accounts
New in version 2.3.
Synopsis
- Create, destroy, or update accounts on SolidFire
Requirements
The below requirements are needed on the host that executes this module.
- solidfire-sdk-python (1.1.0.92)
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
account_id | The ID of the account to manage or update. | |
attributes | List of Name/Value pairs in JSON object format. | |
hostname required | The hostname or IP address of the SolidFire cluster. | |
initiator_secret | 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 required | Unique username for this account. (May be 1 to 64 characters in length). | |
new_name | New name for the user account. | |
password required | Password for the specified user. | |
state required |
| Whether the specified account should exist or not. |
status | Status of the account. | |
target_secret | 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 required | Please ensure that the user has the adequate permissions. For more information, please read the official documentation https://goo.gl/ddJa4Q. |
Notes
Note
- The modules prefixed with
sf\_
are built to support the SolidFire storage platform.
Examples
- 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
Status
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Maintenance
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Author
- Sumit Kumar (sumit4@netapp.com)
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.6/modules/sf_account_manager_module.html