Correct service name when running with upstart

The service name for packetbeat needs to be set correctly, this does
that.

Change-Id: I39c10914ba2d0f16b6ebb94da480ad13f455a08f
Signed-off-by: cloudnull <kevin@cloudnull.com>
This commit is contained in:
cloudnull 2019-02-19 14:33:30 -06:00 committed by Kevin Carter (cloudnull)
parent faf940cbfc
commit a4d2b3c1f9

View File

@ -25,7 +25,7 @@
- name: Enable and restart packetbeat (upstart) - name: Enable and restart packetbeat (upstart)
service: service:
name: "elasticsearch" name: "packetbeat"
state: "{{ packetbeat_service_state }}" state: "{{ packetbeat_service_state }}"
enabled: yes enabled: yes
when: when: