Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: GET STRUCTURED DATA BACK FROM CLI DEVICES
- hosts: cisco_ios
- connection: local
- gather_facts: False
- tasks:
- - name: TEST TEMPLATE
- ntc_show_command:
- connection: ssh
- platform: cisco_ios
- use_templates: false
- command: "show ver"
- host: "{{ inventory_hostname }}"
- username: "{{ username }}"
- password: "{{ password }}"
- register: results
- - debug: var=results.response
Add Comment
Please, Sign In to add comment