Merge "Allow logrotate to access container_file_t files" into stable/stein

This commit is contained in:
Zuul 2019-07-11 16:53:52 +00:00 committed by Gerrit Code Review
commit 0731b9ba17
1 changed files with 8 additions and 0 deletions

View File

@ -69,6 +69,14 @@ outputs:
tripleo::profile::base::logging::logrotate::rotation: {get_param: LogrotateRotationInterval}
tripleo::profile::base::logging::logrotate::rotate: {get_param: LogrotateRotate}
tripleo::profile::base::logging::logrotate::purge_after_days: {get_param: LogrotatePurgeAfterDays}
host_prep_tasks:
- name: allow logrotate to read inside containers
seboolean:
name: logrotate_read_inside_containers
persistent: yes
state: yes
deploy_steps_tasks:
- name: configure tmpwatch on the host
when: step|int == 2