diff options
-rw-r--r-- | handlers/main.yml | 3 | ||||
-rw-r--r-- | tasks/main.yml | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/handlers/main.yml b/handlers/main.yml index 92da673..41d0044 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,2 +1,5 @@ --- # handlers file for teamspeak + +- name: reload systemd + command: systemctl daemon-reload diff --git a/tasks/main.yml b/tasks/main.yml index 557fe01..ffcb017 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -61,6 +61,14 @@ mode: 0644 owner: root group: root + notify: + - reload systemd + tags: + - teamspeak + +# Perform the "reload systemd" handler now. +# Before we start using the new/changed .service file. +- meta: flush_handlers tags: - teamspeak |