Change setype for non container /var/log/<service> directories

/var/log/<service> is not used by containers, therefore setype
svirt_sandbox_file_t is not required. This changes it to the
default var_log_t.

Change-Id: I870f6f5286ac9222d6d8fbdcb48fe6b6559993ba
This commit is contained in:
Martin Schuppert
2019-04-26 14:53:37 +02:00
parent 2d50c070ef
commit 5906f45ffe
13 changed files with 13 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ outputs:
with_items:
- { 'path': /var/log/containers/barbican, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/httpd/barbican-api, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/barbican, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/barbican, 'setype': var_log_t }
- name: barbican logs readme
copy:
dest: /var/log/barbican/readme.txt