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).

Change-Id: I2033cbb70e8b94eafee586b94aa85b5cf694d823
Closes-Bug: #1713698
This commit is contained in:
Jean-Philippe Evrard 2017-08-29 10:57:14 +00:00
parent a5f39a0319
commit ab5b6d79e0
1 changed files with 1 additions and 0 deletions

View File

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