dellemc / dellemc.powerstore / 3.2.0 / module / security_config Security configuration operations for PowerStore Storage System | "added in version" 1.4.0 of dellemc.powerstore" Authors: Bhavneet Sharma (@sharmb5) <ansible.team@dell.com>dellemc.powerstore.security_config (3.2.0) — module
Install with ansible-galaxy collection install dellemc.powerstore:==3.2.0
collections: - name: dellemc.powerstore version: 3.2.0
Managing security configuration on PowerStore storage system includes getting details and modifying security configuration parameters.
- name: Get security config dellemc.powerstore.security_config: array_ip: "{{array_ip}}" validate_certs: "{{validate_certs}}" user: "{{user}}" password: "{{password}}" security_config_id: 1 state: "present"
- name: Modify attribute of security config dellemc.powerstore.security_config: array_ip: "{{array_ip}}" validate_certs: "{{validate_certs}}" user: "{{user}}" password: "{{password}}" security_config_id: 1 protocol_mode: "TLSv1_1" state: "present"
port: description: - Port number for the PowerStore array. - If not passed, it will take 443 as default. type: int user: description: - The username of the PowerStore host. required: true type: str state: choices: - absent - present description: - Define whether the security config should exist or not. required: true type: str timeout: default: 120 description: - Time after which the connection will get terminated. - It is to be mentioned in seconds. type: int 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 protocol_mode: choices: - TLSv1_0 - TLSv1_1 - TLSv1_2 description: - Protocol mode of the security configuration. - Mandatory only for modify operation. type: str validate_certs: aliases: - verifycert default: true description: - Boolean variable to specify whether to validate SSL certificate or not. - C(true) - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. - C(false) - indicates that the SSL certificate should not be verified. type: bool security_config_id: description: - ID of the security configuration. - Mandatory for all operations. required: true type: int
changed: description: Whether or not the resource has changed. returned: always sample: 'true' type: bool security_config_details: contains: id: description: The system generated ID given to the security configuration. type: str idle_timeout: description: Idle time (in seconds) after which login sessions will expire and require re-authentication. type: int protocol_mode: description: The protocol mode of the security configuration. type: str description: Details of the security configuration. returned: When security config exists sample: id: '1' idle_timeout: 3600 protocol_mode: TLSv1_2 protocol_mode_l10n: TLSv1_2 type: complex