diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-01-10 06:43:49 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-01-10 06:43:49 +0100 |
commit | 7b61d43ab127b2604a6b4f1e71b6d5b71d2fb362 (patch) | |
tree | 85efa337b6e8375255022dd70dccd6f5b9bb5e38 /roles/current/tasks/selabel.yml | |
parent | 18da6e4b5942f4fcaa9db3ba3bf1dfcd1857e9ea (diff) | |
download | ands-7b61d43ab127b2604a6b4f1e71b6d5b71d2fb362.tar.gz ands-7b61d43ab127b2604a6b4f1e71b6d5b71d2fb362.tar.bz2 ands-7b61d43ab127b2604a6b4f1e71b6d5b71d2fb362.tar.xz ands-7b61d43ab127b2604a6b4f1e71b6d5b71d2fb362.zip |
Update current role
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 }}" |