-
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
Ansible_net_model is not returned in facts #86
Comments
@Aidar5 Thanks for raising the issue, can u share the out of |
I would like to add on to this that for mine net_serialnum is returned as null, in addition to the lack of a net_model. Show inventory:
|
Here is a "sh version" output: Cisco Adaptive Security Appliance Software Version 9.12(4) Compiled on Thu 21-May-20 12:17 PDT by builders Hardware: FPR-2110, 6586 MB RAM, CPU MIPS 1200 MHz, 1 CPU (6 cores) License mode: Smart Licensing |
I have also encountered this problem. I have included a work around as well as the output of show version on the ASA I am working on. /home/USERNAME/.ansible/collections/ansible_collections/cisco/asa/plugins/cliconf/asa.py
sh version
|
Thanks, was useful, in my case I had to adapt your regex ( "([\w-]+)" instead of "(\w+)" ) because some of my devices are Firepower (FPR-2140 for example ) |
@jguirlinger |
I was having this same issue and came across this thread. Thanks for the workaround @jguirlinger, works now. |
This worked for me too! Will this be added to a new update soon? |
SUMMARY
Return value "ansible_net_model" is absent when requesting ASA facts via CISCO ASA Ansible Collection.
ISSUE TYPE
COMPONENT NAME
cisco.asa.asa_facts – Collect facts from remote devices running Cisco ASA
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
For example: Cisco ASA5508, Cisco FPR2110
STEPS TO REPRODUCE
Get facts from device using "cisco.asa.asa_facts" plugin
EXPECTED RESULTS
I expect to see "ansible_net_model" in returned value as it stated in documentation https://docs.ansible.com/ansible/2.10/collections/cisco/asa/asa_facts_module.html
ACTUAL RESULTS
"ansible_net_model" is not seen in response.
The text was updated successfully, but these errors were encountered: