Skip to content

Instantly share code, notes, and snippets.

@privateip
Created August 30, 2016 02:24
Show Gist options
  • Save privateip/f473d9ce25dd699b14c9987264159616 to your computer and use it in GitHub Desktop.
Save privateip/f473d9ce25dd699b14c9987264159616 to your computer and use it in GitHub Desktop.
---
- hosts: ios01
connection: local
tasks:
- ios_facts:
host: "{{ inventory_hostname }}"
username: cisco
password: cisco
register: output
- debug: var=output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment