Merge "Run update tasks with become" into stable/victoria

This commit is contained in:
Zuul 2021-05-04 11:47:53 +00:00 committed by Gerrit Code Review
commit 5c9c9fb177
1 changed files with 1 additions and 0 deletions

View File

@ -818,6 +818,7 @@ outputs:
{%- for role in roles %} {%- for role in roles %}
- hosts: {{role.name}} - hosts: {{role.name}}
name: Run update name: Run update
become: true
serial: "{% raw %}{{ update_serial | default({% endraw %}{{ role.update_serial | default(1) }}{% raw %})}}{% endraw %}" serial: "{% raw %}{{ update_serial | default({% endraw %}{{ role.update_serial | default(1) }}{% raw %})}}{% endraw %}"
gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}" gather_facts: "{% raw %}{{ gather_facts | default(false) }}{% endraw %}"
any_errors_fatal: yes any_errors_fatal: yes