Now, let's add the OSD nodes details to the /etc/ceph/ceph.conf file from ceph-node1 using Ansible:
- On ceph-node1 in the /usr/share/ceph-ansible/group_vars directory, edit the ceph_conf_overrides section of the all.yml to reflect the OSD nodes details. As with the monitors, please be careful with the formatting of the file or the running of the playbook will fail with a formatting error:
- Save the updated all.yml file and re-run the playbook from the /usr/share/ceph-ansible directory:
# ansible-playbook site.yml
- Validate that the Ceph configuration file properly updated the OSD nodes in the ...