Fix passing tags through infrared to the tripleo-upgrade role.

Passing a tags to the tripleo-upgrade role doesn't work as all the
initial set_facts tasks are skipped.

Make sure we always run those set_facts regardless of the tags used by
the user.

Change-Id: I62a2e21fd062e302a03b898730555e2ab7d5a542
Closes-Bug: #1843442
(cherry picked from commit 593afa2337)
(cherry picked from commit 5a41e20937)
This commit is contained in:
Sofer Athlan-Guyot 2019-09-10 16:03:49 +02:00
parent 204ca182ff
commit ef0194637f
1 changed files with 146 additions and 143 deletions

View File

@ -8,7 +8,7 @@
become_user: stack
pre_tasks:
- block:
- name: Set upgrade workload launch
set_fact:
workload_launch: true
@ -190,5 +190,8 @@
set_fact:
nova_actions_check: true
when: install.upgrade.nova.actions.check
tags:
- always
roles:
- tripleo-upgrade