-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "terminal pager 0" as fallback command to disable pager #206
Add "terminal pager 0" as fallback command to disable pager #206
Conversation
recheck |
@matheuskshn can you plz rebase the branch and force push the changes again |
recheck |
recheck |
recheck |
recheck |
recheck |
recheck |
recheck |
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
recheck |
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0) - [github.com/psf/black: 23.12.1 → 24.4.2](psf/black@23.12.1...24.4.2)
recheck |
recheck |
* Fix NetworkTemplate import * Also redirect is_masklen and to_netmask * This compat is not required anymore * Add 2.16 ignores file --------- Co-authored-by: nleiva <nicolasleiva@gmail.com>
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0) - [github.com/asottile/add-trailing-comma: v2.2.3 → v2.4.0](asottile/add-trailing-comma@v2.2.3...v2.4.0) - [github.com/psf/black: 22.6.0 → 23.3.0](psf/black@22.6.0...23.3.0) - [github.com/PyCQA/isort: 5.10.1 → 5.12.0](PyCQA/isort@5.10.1...5.12.0) - [github.com/ansible-network/collection_prep: 1.0.0 → 1.1.1](ansible-network/collection_prep@1.0.0...1.1.1) * Pre-commit updates --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kate Case <this.is@katherineca.se>
* release prep 401 Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Replace uses of 192.0.3.0/24 with 198.51.100.0/24 (TEST-NET-2) See https://datatracker.ietf.org/doc/html/rfc5737#section-3 for more on why this particular block should be used instead * Add changelog * Swap one with TEST-NET-3 for coverage
In some devices, the "no terminal pager" command may be blocked due to internal security policies (as is the case in my situation). However, instead of disabling the pagination limit, I can set this limit to 0 with the "terminal pager 0" command, which achieves practically the same outcome.
for more information, see https://pre-commit.ci
SUMMARY
In some devices, the "no terminal pager" command may be blocked due to internal security policies (as is the case in my situation). However, instead of disabling the pagination limit, I can set this limit to 0 with the "terminal pager 0" command, which achieves practically the same outcome.
ISSUE TYPE
COMPONENT NAME
plugins/terminal/asa.py
ADDITIONAL INFORMATION
Example of the "no terminal pager" command being executed directly on a Cisco ASA device, which has internal security policies blocking the command:
Error generated in Ansible:
fatal: [192.168.1.1]: FAILED! => {"changed": false, "msg": "unable to disable terminal pager"}
Example of the "terminal pager 0" command being executed directly on a Cisco ASA device, which has internal security policies blocking the command "no terminal pager":
No errors generated by Ansible!