check-mk-agent: Add "systemd" tag to task checking for service file
authorAlexander Barton <alexander.barton@thomas-daily.de>
Tue, 2 Apr 2019 12:41:23 +0000 (14:41 +0200)
committerAlexander Barton <alexander.barton@thomas-daily.de>
Tue, 2 Apr 2019 12:41:23 +0000 (14:41 +0200)
This is required to be able to use "-l systemd" with this role.

roles/check-mk-agent/tasks/main.yml

index 1221c44..0e59f18 100644 (file)
@@ -28,6 +28,7 @@
     - check_mk
     - monitoring
     - packages
+    - systemd
   stat: path=/etc/systemd/system/check_mk.socket
   when: "ansible_distribution_major_version|int >= 8"
   check_mode: no