community / community.general / 1.3.11 / module / na_cdot_user
Removed in 2.0.0
Reason:Updated modules released with increased functionality | Alternative:Use M(netapp.ontap.na_ontap_user) instead.
useradmin configuration and management
Authors: Sumit Kumar (@timuster) <sumit4@netapp.com>
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
Create or destroy users.
- name: Create User community.general.na_cdot_user: state: present name: SampleUser application: ssh authentication_method: password set_password: apn1242183u1298u41 role_name: vsadmin vserver: ansibleVServer hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}"
name: description: - The name of the user to manage. required: true state: choices: - present - absent description: - Whether the specified user should exist or not. required: true vserver: description: - The name of the vserver to use. required: true hostname: description: - The hostname or IP address of the ONTAP instance. required: true password: aliases: - pass description: - Password for the specified user. required: true username: aliases: - user description: - This can be a Cluster-scoped or SVM-scoped account, depending on whether a Cluster-level or SVM-level API is required. For more information, please read the documentation U(https://mysupport.netapp.com/NOW/download/software/nmsdk/9.4/). required: true role_name: description: - The name of the role. Required when C(state=present) application: choices: - console - http - ontapi - rsh - snmp - sp - ssh - telnet description: - Applications to grant access to. required: true set_password: description: - Password for the user account. - It is ignored for creating snmp users, but is required for creating non-snmp users. - For an existing user, this value will be used as the new password. authentication_method: choices: - community - password - publickey - domain - nsswitch - usm description: - Authentication method for the application. - Not all authentication methods are valid for an application. - Valid authentication methods for each application are as denoted in I(authentication_choices_description). - password for console application - password, domain, nsswitch, cert for http application. - password, domain, nsswitch, cert for ontapi application. - community for snmp application (when creating SNMPv1 and SNMPv2 users). - usm and community for snmp application (when creating SNMPv3 users). - password for sp application. - password for rsh application. - password for telnet application. - password, publickey, domain, nsswitch for ssh application. required: true