From 976a5e905ba9787573a668e4f67854c009cc9caf Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Wed, 14 Apr 2021 10:41:45 +0200 Subject: [PATCH] Run update tasks with become Make it aligned with the upgrade tasks, what uses become as well Change-Id: I58da2c214c5a9cf013bc7719649e0d0d4f3a6f74 Signed-off-by: Bogdan Dobrelya (cherry picked from commit dc52f3c9498e4f0fb8dcc685f2ebd14b43d2f992) --- common/deploy-steps.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index 1e23f3147d..9702551498 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -800,6 +800,7 @@ outputs: {%- for role in roles %} - hosts: {{role.name}} name: Run update + become: true serial: "{% raw %}{{ update_serial | default({% endraw %}{{ role.update_serial | default(1) }}{% raw %})}}{% endraw %}" gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}" any_errors_fatal: yes