We can use git to clone the Ceph Ansible repository:
git clone https://github.com/ceph/ceph-ansible.git
sudo cp -a ceph-ansible/* /etc/ansible/
The preceding commands gives the following output:
Let's also explore some of the key folders in the git repository:
- group_vars: We've already covered what lives in here and will explore the possible configuration options in more detail later.
- infrastructure-playbooks: This directory contains prewritten playbooks to carry out some standard tasks, such as deploying cluster or adding OSDs to an existing one. The comments at the top of the playbooks give a good idea of what they do.
- roles: This directory contains all the roles that make up the Ceph Ansible modules. You will see that there is a role for each Ceph component, these are what are called via the playbooks to install, configure and maintain Ceph.
In order to be...