community / community.network / 2.3.0 / module / pn_admin_session_timeout CLI command to modify admin-session-timeout Authors: Pluribus Networks (@rajaspachipulusu17)community.network.pn_admin_session_timeout (2.3.0) — module
Install with ansible-galaxy collection install community.network:==2.3.0
collections: - name: community.network version: 2.3.0
This module can be used to modify admin session timeout.
- name: Admin session timeout functionality community.network.pn_admin_session_timeout: pn_cliswitch: "sw01" state: "update" pn_timeout: "61s"
- name: Admin session timeout functionality community.network.pn_admin_session_timeout: pn_cliswitch: "sw01" state: "update" pn_timeout: "1d"
- name: Admin session timeout functionality community.network.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