Created
August 11, 2016 23:24
-
-
Save privateip/88b68576d7c0dd8d8e566ce3ec75e4a8 to your computer and use it in GitHub Desktop.
asa_command show version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ansible)[ansible-asa]$ ansible --version | |
ansible 2.2.0 (working 7579df33ce) last updated 2016/08/10 15:39:41 (GMT -400) | |
lib/ansible/modules/core: (working f3e761f0c8) last updated 2016/08/11 11:19:11 (GMT -400) | |
lib/ansible/modules/extras: (working 57c142b6ed) last updated 2016/08/02 15:17:56 (GMT -400) | |
config file = /etc/ansible/ansible.cfg | |
configured module search path = Default w/o overrides | |
(ansible)[ansible-asa]$ | |
(ansible)[ansible-asa]$ | |
(ansible)[ansible-asa]$ | |
(ansible)[ansible-asa]$ cat show.yaml | |
--- | |
- hosts: asa | |
tasks: | |
- asa_command: | |
commands: | |
- show version | |
provider: "{{ cli }}" | |
register: output | |
- debug: var=output | |
(ansible)[ansible-asa]$ | |
(ansible)[ansible-asa]$ | |
(ansible)[ansible-asa]$ | |
(ansible)[ansible-asa]$ | |
(ansible)[ansible-asa]$ ansible-playbook show.yaml | |
PLAY [asa] ********************************************************************* | |
TASK [asa_command] ************************************************************* | |
ok: [asa01] | |
TASK [debug] ******************************************************************* | |
ok: [asa01] => { | |
"output": { | |
"changed": false, | |
"stdout": [ | |
"\nCisco Adaptive Security Appliance Software Version 9.5(1)201 \nDevice Manager Version 7.5(1)\n\nCompiled on Tue 29-Sep-15 22:08 PDT by builders\nSystem image file is \"boot:/asa951-201-smp-k8.bin\"\nConfig file at boot was \"startup-config\"\n\nasa01 up 10 days 5 hours\n\nHardware: ASAv, 2048 MB RAM, CPU Pentium II 3700 MHz,\nModel Id: ASAv10\nInternal ATA Compact Flash, 129024MB\nSlot 1: ATA Compact Flash, 129024MB\nBIOS Flash Firmware Hub @ 0x0, 0KB\n\n\n 0: Ext: Management0/0 : address is fa16.3e1a.de74, irq 11\n 1: Ext: GigabitEthernet0/0 : address is fa16.3e37.a167, irq 11\n 2: Ext: GigabitEthernet0/1 : address is fa16.3ec2.b961, irq 10\n\nLicense mode: Smart Licensing\nASAv Platform License State: Unlicensed\nNo active entitlement: no feature tier and no throughput level configured\n*Memory resource allocation is more than the permitted limit.\n\nLicensed features for this platform:\nMaximum Physical Interfaces : 10 \nMaximum VLANs : 50 \nInside Hosts : Unlimited \nFailover : Active/Standby \nEncryption-DES : Enabled \nEncryption-3DES-AES : Enabled \nSecurity Contexts : 0 \nGTP/GPRS : Disabled \nAnyConnect Premium Peers : 2 \nAnyConnect Essentials : Disabled \nOther VPN Peers : 250 \nTotal VPN Peers : 250 \nShared License : Disabled \nAnyConnect for Mobile : Disabled \nAnyConnect for Cisco VPN Phone : Disabled \nAdvanced Endpoint Assessment : Disabled \nTotal UC Proxy Sessions : 2 \nBotnet Traffic Filter : Enabled \nCluster : Disabled \n\nLicensing mode is Smart Licensing\n\nSerial Number: 9AMR6BXCLQV\n\nImage type : Release\nKey version : A\n\nConfiguration last modified by enable_15 at 19:07:39.537 UTC Tue Aug 2 2016\n" | |
], | |
"stdout_lines": [ | |
[ | |
"", | |
"Cisco Adaptive Security Appliance Software Version 9.5(1)201 ", | |
"Device Manager Version 7.5(1)", | |
"", | |
"Compiled on Tue 29-Sep-15 22:08 PDT by builders", | |
"System image file is \"boot:/asa951-201-smp-k8.bin\"", | |
"Config file at boot was \"startup-config\"", | |
"", | |
"asa01 up 10 days 5 hours", | |
"", | |
"Hardware: ASAv, 2048 MB RAM, CPU Pentium II 3700 MHz,", | |
"Model Id: ASAv10", | |
"Internal ATA Compact Flash, 129024MB", | |
"Slot 1: ATA Compact Flash, 129024MB", | |
"BIOS Flash Firmware Hub @ 0x0, 0KB", | |
"", | |
"", | |
" 0: Ext: Management0/0 : address is fa16.3e1a.de74, irq 11", | |
" 1: Ext: GigabitEthernet0/0 : address is fa16.3e37.a167, irq 11", | |
" 2: Ext: GigabitEthernet0/1 : address is fa16.3ec2.b961, irq 10", | |
"", | |
"License mode: Smart Licensing", | |
"ASAv Platform License State: Unlicensed", | |
"No active entitlement: no feature tier and no throughput level configured", | |
"*Memory resource allocation is more than the permitted limit.", | |
"", | |
"Licensed features for this platform:", | |
"Maximum Physical Interfaces : 10 ", | |
"Maximum VLANs : 50 ", | |
"Inside Hosts : Unlimited ", | |
"Failover : Active/Standby ", | |
"Encryption-DES : Enabled ", | |
"Encryption-3DES-AES : Enabled ", | |
"Security Contexts : 0 ", | |
"GTP/GPRS : Disabled ", | |
"AnyConnect Premium Peers : 2 ", | |
"AnyConnect Essentials : Disabled ", | |
"Other VPN Peers : 250 ", | |
"Total VPN Peers : 250 ", | |
"Shared License : Disabled ", | |
"AnyConnect for Mobile : Disabled ", | |
"AnyConnect for Cisco VPN Phone : Disabled ", | |
"Advanced Endpoint Assessment : Disabled ", | |
"Total UC Proxy Sessions : 2 ", | |
"Botnet Traffic Filter : Enabled ", | |
"Cluster : Disabled ", | |
"", | |
"Licensing mode is Smart Licensing", | |
"", | |
"Serial Number: 9AMR6BXCLQV", | |
"", | |
"Image type : Release", | |
"Key version : A", | |
"", | |
"Configuration last modified by enable_15 at 19:07:39.537 UTC Tue Aug 2 2016", | |
"" | |
] | |
] | |
} | |
} | |
PLAY RECAP ********************************************************************* | |
asa01 : ok=2 changed=0 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment