In this chapter, we have listed several handy techniques to optimize configuration management coding when using Ansible and other automation tools. We have introduced Ansible roles, including how to make them and how to use them. In Chapter 7, Ansible Galaxy and Community Roles, we are going to explore community roles on Ansible Galaxy. We will download and use the highest-rated ones and show how we can add a role on Ansible Galaxy ourselves.