We can use Git to clone the Ceph Ansible repository, as follows:
git clone https://github.com/ceph/ceph-ansible.git
git checkout stable-3.2
sudo cp -a ceph-ansible/* /etc/ansible/
We also need to install a few extra packages that ceph-ansible requires:
sudo apt-get install python-pip
sudo pip install notario netaddr
Let's also explore some key folders in the Git repository:
- group_vars: We've already covered what lives here and will explore possible configuration options in more detail later
- infrastructure-playbooks: This directory contains pre-written playbooks to carry out some standard tasks, such as deploying clusters 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...