New in version 2.3.
- solidfire-sdk-python (1.1.0.92)
parameter | required | default | choices | comments |
---|---|---|---|---|
account_id |
no | None | The ID of the account to manage or update. | |
attributes |
no | List of Name/Value pairs in JSON object format. | ||
hostname |
yes | The hostname or IP address of the SolidFire cluster. | ||
initiator_secret |
no | 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 |
yes | Unique username for this account. (May be 1 to 64 characters in length). | ||
new_name |
no | None | New name for the user account. | |
password |
yes | Password for the specified user. | ||
state |
yes |
|
Whether the specified account should exist or not. | |
status |
no | Status of the account. | ||
target_secret |
no | 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 |
yes | Please ensure that the user has the adequate permissions. For more information, please read the official documentation https://goo.gl/ddJa4Q. |
- 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
Note
sf\_
are built to support the SolidFire storage platform.This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.