Terraform configuration and Ansible playbooks to deploy Ceph in MCP 2.0.
If you have questions, requests, or would like to contribute, please please create an issue because we'd love to hear from you :-)
python ansible/patch-ceph.py- Customise terraform/main.tf and
*.ymlin ansible/ceph/group_vars as required - Run
curl https://api.ipify.org, and add the resulting IP address toterraform/terraform.tfvarsasclient_ip(create this file if it does not already exist) cd terraformterraform applyterraform refreshcd ../ansible/cephansible-playbook ../playbooks/01_ansible_bootstrap.ymlansible all -m pingansible-playbook ../playbooks/02_server_init.ymlansible-playbook ceph.yml
- To ensure a new (from-scratch) cluster deployment, before you start ensure that the
ansible/ceph/fetchdirectory is not already present. - Additional roles can be added to the monitor or OSD nodes by customising the
roleskey underddcloud_serverin terraform/mon_nodes.tf and / or terraform/osd_nodes.tf.
For a list of valid roles, see ansible/ceph/ceph.yml.