Do not become root to scan local files
This commit is contained in:
parent
61c63ae729
commit
6781336aff
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
- name: "identify logcheck ignore files"
|
- name: "identify logcheck ignore files"
|
||||||
delegate_to: "localhost"
|
delegate_to: "localhost"
|
||||||
|
become: false
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ system_base_logs_ignore_dir }}/{{ item }}"
|
path: "{{ system_base_logs_ignore_dir }}/{{ item }}"
|
||||||
register: system_base_logs_ignore_files_stat
|
register: system_base_logs_ignore_files_stat
|
||||||
|
Loading…
Reference in New Issue
Block a user