Ensure online migrations can run

The online migrations are disabled when they would have run
once per software version. However, when the task that
sets data_migration is skipped, it's not considered as failure
by ansible, and therefore the | succeeded will be true, removing
the ability to do the online data migrations.

This ensure that the fact task will be set to remove the need
for online data migrations when the relevant task has properly
run (not skipped).

Closes-Bug: #1713698

Change-Id: I0ed046252b24d4e02efb65216cc1c33aa470db9d
This commit is contained in:
Jean-Philippe Evrard
2017-08-29 10:49:35 +00:00
parent ba256e3ed1
commit 91677876e5

View File

@@ -42,4 +42,5 @@
option: need_online_data_migrations
value: False
when:
- not data_migrations | skipped
- data_migrations | succeeded