Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: IOS Fact Finder
- hosts: "BITS_CORE_SW"
- gather_facts: false
- connection: local
- vars:
- cli:
- username: cisco
- password: cisco
- tasks:
- - name: Gathering IOS Facts
- ios_facts:
- gather_subset: all
- provider: "{{ cli }}"
- - name: Print Interfaces
- debug: var=ansible_net_interfaces.FastEthernet1/0/1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement