Ensure service log folder permissions

We should ensure that the service folders are 0750. We're setting
/var/log/containers but we should also ensure the service folders also
have the correct permissions.

Change-Id: I28e8017edc7e30a60288adf846da722fd6ab310e
This commit is contained in:
Alex Schultz
2019-11-04 08:48:24 -07:00
parent b851cd611b
commit f2147c9974
79 changed files with 99 additions and 99 deletions

View File

@@ -39,8 +39,8 @@ outputs:
state: directory
setype: "{{ item.setype }}"
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/containers/barbican, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/barbican-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/barbican, 'setype': var_log_t }
- name: barbican logs readme
copy: