ceph-ansible/roles/ceph-osd/tasks/docker/selinux.yml

12 lines
267 B
YAML

---
- name: set selinux permissions
shell: |
chcon -Rt svirt_sandbox_file_t {{ item }}
with_items:
- "{{ ceph_conf_key_directory }}"
- /var/lib/ceph
changed_when: false
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'