Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. ---
  2. - hosts: R1
  3. gather_facts: no
  4. tasks:
  5. - name: sh ip int brief
  6. local_action:
  7. module: ios_command
  8. host: 192.168.174.10
  9. username: cisco
  10. password: cisco
  11. authorize: true
  12. auth_pass: cisco
  13. commands:
  14. - sh ip int brief
  15. - sh version
  16. register: result
  17. - debug: var=result.stdout_lines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement