Add a exclude on logserver so we don't have to wait hours for updates on restorecon on selinux policy updates.
This commit is contained in:
parent
f312b94f4b
commit
bf74660e29
|
@ -0,0 +1 @@
|
|||
/var/log/hosts
|
|
@ -28,6 +28,13 @@
|
|||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
- include: "{{ tasks }}/motd.yml"
|
||||
|
||||
#
|
||||
# We exclude some dirs from restorecon on updates on logservers as they are very large
|
||||
# and it takes a long long time to run restorecon over them.
|
||||
#
|
||||
- name: exclude some directories from selinux relabeling on updates
|
||||
copy: src="{{ files }}"/logserver/fixfiles_exclude_dirs dest=/etc/selinux/fixfiles_exclude_dirs owner=root mode=0644
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
- include: "{{ handlers }}/semanage.yml"
|
||||
|
|
Loading…
Reference in New Issue