From 9e756bf16334517d6dd6b6e15533ca5a6efbf6bc Mon Sep 17 00:00:00 2001 From: Simon Michnowicz <simon.michnowicz@monash.edu> Date: Mon, 1 Jul 2019 18:25:51 +1000 Subject: [PATCH] added root escalation on service command Former-commit-id: 058b09708c4e25f48ea97ea1c2c617ec1a85b408 --- roles/set_semaphore_count/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/set_semaphore_count/tasks/main.yml b/roles/set_semaphore_count/tasks/main.yml index ad2b5b0c..a8e975f5 100644 --- a/roles/set_semaphore_count/tasks/main.yml +++ b/roles/set_semaphore_count/tasks/main.yml @@ -11,5 +11,7 @@ become_user: root - name: enable and start set_semaphores service service: name="set_semaphores" state=started enabled=true + become: true + become_user: root -- GitLab