Authored by chunhua.zhang

add

... ... @@ -9,14 +9,6 @@
when: confirmation != 'YES'
- name: Get running processes
shell: "ps -ef | grep -v grep | grep -w filebeat | awk '{print $2}'"
register: running_processes
- name: Kill running processes
shell: "kill -9 {{ item }}"
with_items: "{{ running_processes.stdout_lines }}"
- name: Init filebeat folders
shell: mkdir -p /etc/filebeat /Data/logs/filebeat
... ...