Skip to content
Snippets Groups Projects
Commit e8bb3d4e authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add sudo command for non-root account to mount osd"

parents 789f680a 6f825382
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
name: "/var/lib/ceph/osd/{{ item['fs_uuid'] }}" name: "/var/lib/ceph/osd/{{ item['fs_uuid'] }}"
opts: "{{ ceph_osd_mount_options }}" opts: "{{ ceph_osd_mount_options }}"
with_items: "{{ osds }}" with_items: "{{ osds }}"
become: true
become_method: sudo
- name: Gathering OSD IDs - name: Gathering OSD IDs
command: "cat /var/lib/ceph/osd/{{ item['fs_uuid'] }}/whoami" command: "cat /var/lib/ceph/osd/{{ item['fs_uuid'] }}/whoami"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment