ansible / ansible.builtin / v2.9.26 / module / pn_admin_session_timeout CLI command to modify admin-session-timeout | "added in version" 2.8 of ansible.builtin" Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communityansible.builtin.pn_admin_session_timeout (v2.9.26) — module
pip
Install with pip install ansible==2.9.26
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