diff options
Diffstat (limited to 'roles/current/tasks/selabel.yml')
-rw-r--r-- | roles/current/tasks/selabel.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/current/tasks/selabel.yml b/roles/current/tasks/selabel.yml new file mode 100644 index 0000000..987f982 --- /dev/null +++ b/roles/current/tasks/selabel.yml @@ -0,0 +1,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 }}" |