Let's combine what we've learned so far and store the Ansible configuration we wrote in the last section on our Git server.
Storing our Ansible configuration in Git
Getting ready
In this section, we're going to primarily use centos1, but we're going to upload our configuration to centos2.
SSH to both of your virtual machines:
$ vagrant ssh centos1 $ vagrant ssh centos2
On centos2, create another bare Git repository from your home directory:
$ git init --bare ansible-example.git
Initialized empty Git repository in /home/vagrant/ansible-example.git/