diff --git a/ansible/roles/ceph/tasks/start_osds.yml b/ansible/roles/ceph/tasks/start_osds.yml index 643d121b0d..7bd0d4d045 100644 --- a/ansible/roles/ceph/tasks/start_osds.yml +++ b/ansible/roles/ceph/tasks/start_osds.yml @@ -19,6 +19,8 @@ name: "/var/lib/ceph/osd/{{ item['fs_uuid'] }}" opts: "{{ ceph_osd_mount_options }}" with_items: "{{ osds }}" + become: true + become_method: sudo - name: Gathering OSD IDs command: "cat /var/lib/ceph/osd/{{ item['fs_uuid'] }}/whoami"