Only ever restart the Minecraft service if it's enabled
This commit is contained in:
parent
e94937cd44
commit
0214e6bd75
@ -6,3 +6,4 @@
|
|||||||
name: "minecraft@{{ minecraft_name }}"
|
name: "minecraft@{{ minecraft_name }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
become: yes
|
become: yes
|
||||||
|
when: minecraft_enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user