This repository has been archived on 2022-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
|
#Diederik Roovers
|
|
|
|
---
|
|
- name: Show DHCP
|
|
hosts: routers
|
|
gather_facts: no
|
|
|
|
tasks:
|
|
- name: Show DHCP
|
|
ios_command:
|
|
commands: show ip dhcp pool
|
|
register: output
|
|
|
|
- debug: var=output.stdout_lines
|
|
|
|
#ansible-playbook show_dhcp.yml -u cisco -k
|