Chapter 5
Using Ansible for Network Automation
This chapter focuses on using Ansible to automate network tasks. So far, all the examples you’ve seen in this book have had the same focus. This chapter, however, goes into detail about the most common activities network folks carry out.
This chapter shows how to interact with files by reading and writing. It also looks at interactions with several network components—virtual machines, routers, switches, and the cloud—as well as finally APIs.
This chapter finishes with real case studies that show how Ansible has been used to achieve tasks that would otherwise have been very difficult or time-consuming.
You can, of course, use other tools to accomplish the same things you can accomplish with Ansible, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access