diff --git a/roles/minecraft_blockmap/handlers/main.yml b/roles/minecraft_blockmap/handlers/main.yml new file mode 100644 index 0000000..7fe3473 --- /dev/null +++ b/roles/minecraft_blockmap/handlers/main.yml @@ -0,0 +1,23 @@ +--- +# Handlers for minecraft_blockmap + +# Infrastructure +# Ansible instructions to deploy the infrastructure +# Copyright (C) 2021 Saibotk +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +- name: Reload systemd config + systemd: + daemon_reload: true + become: true diff --git a/roles/minecraft_blockmap/tasks/main.yml b/roles/minecraft_blockmap/tasks/main.yml index 54ceb52..7092068 100644 --- a/roles/minecraft_blockmap/tasks/main.yml +++ b/roles/minecraft_blockmap/tasks/main.yml @@ -132,6 +132,7 @@ with_items: - "blockmap-render.service" - "blockmap-render.timer" + notify: Reload systemd config become: true - name: Start & enable render service timer