Merge "Add sudo command for non-root account to mount osd"
This commit is contained in:
commit
e8bb3d4e83
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user