I encountered an issue that relates to Cisco ASA firewall, I was told that command timeout triggered when run ansible-playbook command, here the environment info
OS: Ubuntu 22.04.2 LTS
Ansible version: core 2.14.6
Python: 3.10.6
I will see the timeout error message when I choose libssh as my SSH connection module:
fatal: [ASA]: FAILED! => {
"changed": false,
"module_stderr": "command timeout triggered, timeout value is 30 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide.",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"
}
There will be another error message when I choose paramiko:
fatal: [DEGT-ASA-1]: FAILED! => {
"changed": false,
"module_stderr": "unable to elevate privilege to enable mode",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"
}
The key problem here I think is it failed to enter Enable mode when connecting, because the same playbook I tried with ansible_become: false can be working properly.
fatal: [DEGT-ASA-1]: FAILED! => {
"changed": false,
"module_stderr": "command timeout triggered, timeout value is 30 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide.",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"
}
Summary
Hi folks,
I encountered an issue that relates to Cisco ASA firewall, I was told that command timeout triggered when run ansible-playbook command, here the environment info
I will see the timeout error message when I choose libssh as my SSH connection module:
There will be another error message when I choose paramiko:
The key problem here I think is it failed to enter
Enable
mode when connecting, because the same playbook I tried withansible_become: false
can be working properly.Please find the configuration below:
Issue Type
Bug Report
Component Name
netcommon, cisco.asa
Ansible Version
Configuration
OS / Environment
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
Steps to Reproduce
Expected Results
Output with correct information of the device
Actual Results
Code of Conduct