Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: R1
- gather_facts: no
- tasks:
- - name: sh ip int brief
- local_action:
- module: ios_command
- host: 192.168.174.10
- username: cisco
- password: cisco
- authorize: true
- auth_pass: cisco
- commands:
- - sh ip int brief
- - sh version
- register: result
- - debug: var=result.stdout_lines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement