Merge "Run update tasks with become"

This commit is contained in:
Zuul 2021-04-27 09:19:41 +00:00 committed by Gerrit Code Review
commit 09f9267b7d
1 changed files with 1 additions and 0 deletions

View File

@ -942,6 +942,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