Add SDK version to tests conditions

Pass SDK version to ansible roles so we can skip testing of modules
which are not supported for current SDK version

Change-Id: I5d25c0a6827536434a8f17b2a0f7de0db4c78301
This commit is contained in:
Sagi Shnaidman
2020-03-28 16:11:04 +03:00
parent a55f3fd1ca
commit 2753b5bc42
2 changed files with 9 additions and 2 deletions

View File

@@ -12,7 +12,9 @@
# - { role: image, tags: image }
- { role: keypair, tags: keypair }
- { role: keystone_domain, tags: keystone_domain }
- { role: keystone_mapping, tags: keystone_mapping }
- role: keystone_mapping
tags: keystone_mapping
when: sdk_version is version(0.44, '>=')
- { role: keystone_role, tags: keystone_role }
- { role: network, tags: network }
- { role: nova_flavor, tags: nova_flavor }