From 63597ec07d20cc85e49c375fffbdba859bfc1a3f Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 21 Jun 2016 13:45:35 -0400 Subject: [PATCH] Use root to restart our zuul-launcher service Add support so we can run the playbook as non-root user. Change-Id: I05af471417ba58a985c24dc0ea2c43f1c7e24a4b Signed-off-by: Paul Belanger --- playbooks/restart_zuul_launchers.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/restart_zuul_launchers.yaml b/playbooks/restart_zuul_launchers.yaml index 9c5901d8ad..7ef34fb29f 100644 --- a/playbooks/restart_zuul_launchers.yaml +++ b/playbooks/restart_zuul_launchers.yaml @@ -21,3 +21,5 @@ service: name: zuul-launcher state: restarted + become: true + become_user: root