Title & contents
For diagrams, tables, or exact code formatting, .
Chapter 4 Where to Start with Network Automation? ........................................................................... 61
Build Repository Folder Structure ..................................................................................................... 66
Create Ansible Inventory File - hosts.ini ........................................................................................... 66
Gather Information ............................................................................................................................ 67
Ansible Module – ios_facts ........................................................................................................... 68
Ansible Module – ios_command ................................................................................................... 69
One-Time Ansible Playbooks / Tactical Changes ............................................................................. 69
Ansible Module – ios_config ......................................................................................................... 70
Configuration Management ............................................................................................................... 70
Data Model Structure ......................................................................................................................... 71
group_vars ..................................................................................................................................... 71
host_vars ........................................................................................................................................ 72
Starting Small .................................................................................................................................... 73
Coverage by Platform ........................................................................................................................ 77
Coverage by Logical Function ........................................................................................................... 78
Summary ............................................................................................................................................ 78
Part II ..................................................................................................................................................... 81
Chapter 5 Repository Structure .............................................................................................................. 83
Configuration ..................................................................................................................................... 84
Documentation ................................................................................................................................... 84
filter_plugins ...................................................................................................................................... 86
group_vars ......................................................................................................................................... 86
host_vars ............................................................................................................................................ 86
Playbooks ........................................................................................................................................... 87
Tasks .................................................................................................................................................. 88
Templates ........................................................................................................................................... 89
hosts.ini .............................................................................................................................................. 90
Chapter 6 Network Reconnaissance ...................................................................................................... 93
Sample Enterprise Network Topology ............................................................................................... 93
Start Gathering Information ............................................................................................................... 94
Summary .......................................................................................................................................... 109
Chapter 7 Tactical Playbooks .............................................................................................................. 113
Moving Towards Automated Changes ............................................................................................ 113
Orchestration ................................................................................................................................ 113
Network Modules ............................................................................................................................ 114
