From b044082ea144d41ab185c334834c68c10f0fb191 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 24 Jun 2020 10:21:09 -0500 Subject: [PATCH] Bump to root when stopping service ups --- roles/minecraft/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/minecraft/tasks/main.yml b/roles/minecraft/tasks/main.yml index d6999d8..ed6dd53 100644 --- a/roles/minecraft/tasks/main.yml +++ b/roles/minecraft/tasks/main.yml @@ -53,6 +53,8 @@ systemd: name: "minecraft@{{ mcname }}" state: stopped + become: yes + become_user: root - name: Remove remnants of old pack file: path: "{{ item }}"