diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index 5b2772d021..b6a2a0affe 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -1150,6 +1150,14 @@ path: "/etc/ceph/{{ cluster }}.conf" register: ceph_config + - name: ensure /etc/ceph is present + file: + path: /etc/ceph + state: directory + owner: "{{ ceph_uid | int if containerized_deployment | bool else 'ceph' }}" + group: "{{ ceph_uid | int if containerized_deployment | bool else 'ceph' }}" + mode: "{{ ceph_directories_mode }}" + - name: write a ceph.conf with minimal config copy: dest: "/etc/ceph/{{ cluster }}.conf"