summaryrefslogtreecommitdiffstats
path: root/roles/current/tasks/selabel.yml
blob: 987f982c35b7ad3456fa0b559ff0408f9e9f50c8 (plain)
1
2
3
4
5
6
---    
- name: "Setting SELinux context for non standard locations"
  sefcontext: target="{{ hostpath }}" setype="svirt_sandbox_file_t" state="present" reload="yes"

- name: "Apply SELinux context for non standard locations"
  shell: restorecon "{{ hostpath }}"