aboutsummaryrefslogtreecommitdiffstats
path: root/handlers
diff options
context:
space:
mode:
authorStefan Joosten <stefan@sjoosten.nl>2017-01-21 15:06:12 +0100
committerStefan Joosten <stefan@sjoosten.nl>2017-01-21 15:06:12 +0100
commit553f78233e26442932f68c5b38298c2c6b4d0de0 (patch)
treea901f21fd0c4c84aba3766eb12d4c2b3453a0ed8 /handlers
parentb906c3938f481ca9ab9e33a5dc2f791eef5bf5b1 (diff)
downloadansible-teamspeak-553f78233e26442932f68c5b38298c2c6b4d0de0.tar.gz
ansible-teamspeak-553f78233e26442932f68c5b38298c2c6b4d0de0.tar.xz
ansible-teamspeak-553f78233e26442932f68c5b38298c2c6b4d0de0.zip
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.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/main.yml3
1 files changed, 2 insertions, 1 deletions
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: