Fix deprecation warning

TASK [os_nova : Disable the online migrations requirement] ******************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
`result|skipped` use `result is skipped`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.

Change-Id: Id48c0288cc31307d1b2338817449fd5c9c84671e
This commit is contained in:
Jonathan Herlin 2019-07-08 16:55:59 +02:00
parent 0497f0e83a
commit 2a9a92e1ab
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@
option: need_online_data_migrations
value: False
when:
- not data_migrations | skipped
- data_migrations is succeeded
- data_migrations is not skipped
- data_migrations is succeeded
- name: Create the cell1 mapping entry in the nova API DB
command: >-