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

This commit is contained in:
Zuul 2021-05-20 17:53:44 +00:00 committed by Gerrit Code Review
commit 413ea98786
1 changed files with 1 additions and 0 deletions

View File

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