community / community.general / 0.1.1 / module / pn_admin_session_timeout CLI command to modify admin-session-timeout Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communitycommunity.general.pn_admin_session_timeout (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module can be used to modify admin session timeout.
- name: admin session timeout functionality pn_admin_session_timeout: pn_cliswitch: "sw01" state: "update" pn_timeout: "61s"
- name: admin session timeout functionality pn_admin_session_timeout: pn_cliswitch: "sw01" state: "update" pn_timeout: "1d"
- name: admin session timeout functionality pn_admin_session_timeout: pn_cliswitch: "sw01" state: "update" pn_timeout: "10d20m3h15s"
state: choices: - update description: - State the action to perform. C(update) to modify the admin-session-timeout. required: true type: str pn_timeout: description: - Maximum time to wait for user activity before terminating login session. Minimum should be 60s. required: false type: str pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str
changed: description: indicates whether the CLI caused changes on the target. returned: always type: bool command: description: the CLI command run on the target node. returned: always type: str stderr: description: set of error responses from the admin-session-timeout command. returned: on error type: list stdout: description: set of responses from the admin-session-timeout command. returned: always type: list