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>
This commit is contained in:
parent
5ed1b12242
commit
dc52f3c949
|
@ -887,6 +887,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