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, ...

Get Network Automation Made Easy now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.