Note
This plugin is part of the netapp.elementsw collection.
To install it use: ansible-galaxy collection install netapp.elementsw
.
To use it in a playbook, specify: netapp.elementsw.na_elementsw_admin_users
.
New in version 2.7.0: of netapp.elementsw
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
acceptEula boolean |
| Boolean, true for accepting Eula, False Eula |
access list / elements=string | A list of types the admin has access to | |
element_password string | The password for the new admin account. Setting the password attribute will always reset your password, even if the password is the same | |
element_username string / required | Unique username for this account. (May be 1 to 64 characters in length). | |
hostname string / required | The hostname or IP address of the SolidFire cluster. For na_elementsw_cluster, the Management IP (MIP) or hostname of the node to initiate the cluster creation from. | |
password string / required | Password for the specified user. aliases: pass | |
state string |
| Whether the specified account should exist or not. |
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: Add admin user na_elementsw_admin_users: state: present username: "{{ admin_user_name }}" password: "{{ admin_password }}" hostname: "{{ hostname }}" element_username: carchi8py element_password: carchi8py acceptEula: True access: accounts,drives - name: modify admin user na_elementsw_admin_users: state: present username: "{{ admin_user_name }}" password: "{{ admin_password }}" hostname: "{{ hostname }}" element_username: carchi8py element_password: carchi8py12 acceptEula: True access: accounts,drives,nodes - name: delete admin user na_elementsw_admin_users: state: absent username: "{{ admin_user_name }}" password: "{{ admin_password }}" hostname: "{{ hostname }}" element_username: carchi8py
© 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/netapp/elementsw/na_elementsw_admin_users_module.html