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:
@@ -42,4 +42,5 @@
|
||||
option: need_online_data_migrations
|
||||
value: False
|
||||
when:
|
||||
- not data_migrations | skipped
|
||||
- data_migrations | succeeded
|
||||
|
||||
Reference in New Issue
Block a user