mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-07-25 09:14:31 +00:00
Pass SDK version to ansible roles so we can skip testing of modules which are not supported for current SDK version Change-Id: I5d25c0a6827536434a8f17b2a0f7de0db4c78301
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
---
|
|
- hosts: localhost
|
|
connection: local
|
|
gather_facts: true
|
|
|
|
roles:
|
|
- { role: auth, tags: auth }
|
|
- { role: client_config, tags: client_config }
|
|
- { role: group, tags: group }
|
|
# TODO(mordred) Reenable this once the fixed os_image winds up in an
|
|
# upstream ansible release.
|
|
# - { role: image, tags: image }
|
|
- { role: keypair, tags: keypair }
|
|
- { role: keystone_domain, tags: keystone_domain }
|
|
- 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 }
|
|
- { role: object, tags: object }
|
|
- { role: port, tags: port }
|
|
- { role: router, tags: router }
|
|
- { role: security_group, tags: security_group }
|
|
- { role: server, tags: server }
|
|
- { role: subnet, tags: subnet }
|
|
- { role: user, tags: user }
|
|
- { role: user_group, tags: user_group }
|
|
- { role: user_role, tags: user_role }
|
|
- { role: volume, tags: volume }
|