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
1 changed files with 1 additions and 1 deletions

View File

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