From 7b61d43ab127b2604a6b4f1e71b6d5b71d2fb362 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 10 Jan 2019 06:43:49 +0100 Subject: Update current role --- roles/current/tasks/selabel.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/current/tasks/selabel.yml (limited to 'roles/current/tasks/selabel.yml') 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 }}" -- cgit v1.2.1