Skip to content
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

Show vpn-sessiondb summary returns show version output #190

Closed
tristaneniyan opened this issue Dec 16, 2022 · 0 comments
Closed

Show vpn-sessiondb summary returns show version output #190

tristaneniyan opened this issue Dec 16, 2022 · 0 comments

Comments

@tristaneniyan
Copy link

SUMMARY

I'm trying to get current vpn session summary using the " en and Show vpn-sessiondb summary, when I print out the lines using stdout I'm getting show version command output.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

cisco.asa.asa_command

ANSIBLE VERSION

ansible [core 2.12.10]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
ansible collection location = /.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.8.10 (default, Nov 14 2022, 12:59:47) [GCC 9.4.0]
jinja version = 2.10.1
libyaml = True

COLLECTION VERSION

CONFIGURATION

OS / ENVIRONMENT

OS- Ubuntu server 20.04

STEPS TO REPRODUCE

 - name: Getting EVPN counts on each VPN
   hosts: asa
   gather_facts: false
   collections:
      - cisco.asa

   tasks:
           - name: Gathering Evpn count
             cisco.asa.asa_command:
               commands:
               - en
               - sh vpn-sessiondb summary
             register: output

           - debug:
#               msg: "{{ output }}"
                var: output.stdout_lines

EXPECTED RESULTS
                              Active

AnyConnect Client 2000
ssl/tls/DTls 2000

ACTUAL RESULTS

show version and license details getting displayed as output, which I can't share here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant