From 553f78233e26442932f68c5b38298c2c6b4d0de0 Mon Sep 17 00:00:00 2001 From: Stefan Joosten Date: Sat, 21 Jan 2017 15:06:12 +0100 Subject: Revert "Checked command `systemctl daemon-reload` to systemctl: `daemon-reload=true`" This reverts commit a3fab1d724269d0a3ce2fe8932ff1a04f685a68a. systemd module requires the "name" argument. The way you intended to use this was clever and I liked it. But the module seems not to have this one in mind. As it doesn't work, I'm reverting it to the older command module style. --- handlers/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index b4789a2..7726e91 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,7 +1,8 @@ --- # handlers file for teamspeak + - name: Reload systemd - systemd: daemon-reload=yes + command: systemctl daemon-reload - name: Restart TeamSpeak 3 Server service: -- cgit v1.2.3-70-g09d2