diff options
| -rw-r--r-- | tasks/general.yml | 4 | ||||
| -rw-r--r-- | templates/usr_local_etc_pylogsentinel.conf.j2 | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tasks/general.yml b/tasks/general.yml index 7643420..76315cd 100644 --- a/tasks/general.yml +++ b/tasks/general.yml @@ -146,8 +146,8 @@ shell: vm init - name: Install .bashrc - file: - src: templates/root_bashr + copy: + src: templates/root_bashrc dest: /root/.bashrc owner: root group: wheel diff --git a/templates/usr_local_etc_pylogsentinel.conf.j2 b/templates/usr_local_etc_pylogsentinel.conf.j2 index 8968014..261d524 100644 --- a/templates/usr_local_etc_pylogsentinel.conf.j2 +++ b/templates/usr_local_etc_pylogsentinel.conf.j2 @@ -3,7 +3,7 @@ state_dir = /var/run/pylogsentinel max_block_size = 10M [logs.standard] -cmd = find / -type f -path '*/var/log/*' ! -name '*access.log' ! -name '*.bz2' +cmd = find / -type f -path '*/var/log/*' ! -name '*access.log' ! -name '*.bz2' ! -name 'dmesg*' [logs.access] paths = /usr/local/jails/containers/ingress/var/log/nginx/access.log |
