Enable filebeat when start_filebeat is true

Change-Id: I88015fa34b743b6b7618e0faf74818266d8ce2f1
This commit is contained in:
Sai Sindhur Malleni 2020-04-14 09:09:21 -04:00
parent 50e6b96afb
commit 7449a8070e

View File

@ -20,8 +20,8 @@
- name: Start and enable filebeat
service:
name: filebeat
state: stopped
enabled: no
state: started
enabled: yes
become: true
when: start_filebeat is defined and start_filebeat|bool