community / community.general / 1.3.14 / module / na_cdot_user_role
Removed in 2.0.0
Reason:Updated modules released with increased functionality | Alternative:Use M(netapp.ontap.na_ontap_user_role) instead.
useradmin configuration and management
Authors: Sumit Kumar (@timuster) <sumit4@netapp.com>
Install with ansible-galaxy collection install community.general:==1.3.14
collections: - name: community.general version: 1.3.14
Create or destroy user roles
- name: Create User Role community.general.na_cdot_user_role: state: present name: ansibleRole command_directory_name: DEFAULT access_level: none vserver: ansibleVServer hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}"
name: description: - The name of the role 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 access_level: choices: - none - readonly - all default: all description: - The name of the role to manage. command_directory_name: description: - The command or command directory to which the role has an access. required: true