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
*.yml
in ansible/ceph/group_vars as required - Run
curl https://api.ipify.org
, and add the resulting IP address toterraform/terraform.tfvars
asclient_ip
(create this file if it does not already exist) cd terraform
terraform apply
terraform refresh
cd ../ansible/ceph
ansible-playbook ../playbooks/01_ansible_bootstrap.yml
ansible all -m ping
ansible-playbook ../playbooks/02_server_init.yml
ansible-playbook ceph.yml
- To ensure a new (from-scratch) cluster deployment, before you start ensure that the
ansible/ceph/fetch
directory is not already present. - Additional roles can be added to the monitor or OSD nodes by customising the
roles
key underddcloud_server
in terraform/mon_nodes.tf and / or terraform/osd_nodes.tf.
For a list of valid roles, see ansible/ceph/ceph.yml.