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

This commit is contained in:
Jenkins 2017-05-03 15:21:35 +00:00 committed by Gerrit Code Review
commit e8bb3d4e83

View File

@ -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"