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 <bdobreli@redhat.com>
(cherry picked from commit dc52f3c949
)
This commit is contained in:
parent
9bbd4fe553
commit
976a5e905b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue