diff --git a/plugins/inventory/openstack.py b/plugins/inventory/openstack.py index 064ada9d..ebcf38ff 100644 --- a/plugins/inventory/openstack.py +++ b/plugins/inventory/openstack.py @@ -11,8 +11,6 @@ DOCUMENTATION = ''' name: openstack author: OpenStack Ansible SIG short_description: OpenStack inventory source -requirements: - - "openstacksdk >= 0.28" description: - Get inventory hosts from OpenStack clouds - Uses openstack.(yml|yaml) YAML configuration file to configure the inventory plugin @@ -110,7 +108,9 @@ options: description: Automatically create groups from host variables. type: bool default: true - +requirements: + - "python >= 3.6" + - "openstacksdk >= 0.28, < 0.99.0" extends_documentation_fragment: - inventory_cache - constructed