feat(minecraft): added handlers

Added new handler file. This handles reloading systemd and starting new minecraft server containers
This commit is contained in:
Jordan Del Pilar
2026-07-15 11:10:59 -07:00
parent c862887c4e
commit f8770f2da4
@@ -0,0 +1,7 @@
- name: Restart changed Minecraft Services
ansible.builtin.systemd:
name: "mc-{{ item.item.name }}"
state: restarted
scope: user
daemon_reload: true
loop: "{{ minecraft_quadlet_results.results | selectattr('changed', 'equalto', true) | list }}"