Enable filebeat when start_filebeat is true
Change-Id: I88015fa34b743b6b7618e0faf74818266d8ce2f1
This commit is contained in:
parent
50e6b96afb
commit
7449a8070e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user