For the examples in this chapter, it's recommended that you create a Git repository to store your Ansible code. This isn't required, as you can find other ways of hosting your code, but it's highly recommended. This is especially true when we get to the pull method of Ansible at the end of this chapter. In this section, I'll walk you through creating a repository. If you already know how to use GitHub, you can skip this section.
While a full walkthrough of Git is beyond the scope of this book, the basics are more than enough for following along here. When it comes to Git, you can simply install the git package on a server to have it host your code, but GitHub is probably the easiest way to get started. An added bonus ...