dellemc / dellemc.powerstore / 1.3.0 / module / dellemc_powerstore_role Get details of the roles present on the PowerStore storage system. | "added in version" 1.3.0 of dellemc.powerstore" Authors: P Srinivas Rao (@srinivas-rao5) <ansible.team@dell.com> preview | supported by communitydellemc.powerstore.dellemc_powerstore_role (1.3.0) — module
Install with ansible-galaxy collection install dellemc.powerstore:==1.3.0
collections: - name: dellemc.powerstore version: 1.3.0
Manage role in PowerStore storage system includes getting the details of a role.
- name: Get the details of role by name dellemc_powerstore_role: array_ip: "{{array_ip}}" verifycert: "{{verify_cert}}" user: "{{user}}" password: "{{password}}" role_name: "Administrator" state: "present"
- name: Get the details of role by id dellemc_powerstore_role: array_ip: "{{array_ip}}" verifycert: "{{verify_cert}}" user: "{{user}}" password: "{{password}}" role_id: "1" state: "present"
user: description: - The username of the PowerStore host. required: true type: str state: choices: - absent - present description: - Define whether the role should exist or not. - present, indicates that the role should exist on the system. - absent, indicates that the role should not exist on the system. required: true type: str role_id: description: - Id of the role. type: str array_ip: description: - IP or FQDN of the PowerStore management system. required: true type: str password: description: - The password of the PowerStore host. required: true type: str role_name: description: - Name of the role. type: str verifycert: choices: - true - false description: - Boolean variable to specify whether to validate SSL certificate or not. - True - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. - False - indicates that the SSL certificate should not be verified. required: true type: bool
changed: description: Whether or not the resource has changed. returned: always sample: true type: bool role_details: contains: description: description: Description of the role. type: str id: description: The ID of the role. type: str is_built_in: description: Indicates whether the role is built-in. type: bool name: description: The name of the role. type: str description: The role details. returned: When role exists. type: complex