mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
4f25435cd2
* openstacksdk < 0.10.0: fix AttributeError `openstack.version.__version__` expression raises an `AttributeError` exception when openstacksdk < 0.10.0 is used. `openstack.version` is now imported as a module, which works for all openstacksdk versions. Error was: The full traceback is: Traceback (most recent call last): File "$HOME/.ansible/tmp/ansible-tmp-1545612308.8-46792777824159/AnsiballZ_os_security_group.py", line 113, in <module> _ansiballz_main() File "$HOME/.ansible/tmp/ansible-tmp-1545612308.8-46792777824159/AnsiballZ_os_security_group.py", line 105, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "$HOME/.ansible/tmp/ansible-tmp-1545612308.8-46792777824159/AnsiballZ_os_security_group.py", line 48, in invoke_module imp.load_module('__main__', mod, module, MOD_DESC) File "/tmp/ansible_os_security_group_payload_keFTIJ/__main__.py", line 163, in <module> File "/tmp/ansible_os_security_group_payload_keFTIJ/__main__.py", line 115, in main File "/tmp/ansible_os_security_group_payload_keFTIJ/ansible_os_security_group_payload.zip/ansible/module_utils/openstack.py", line 121, in openstack_cloud_from_module AttributeError: 'module' object has no attribute 'version' * Add missing space & dot in error message * Always require openstacksdk >= 0.12 |
||
---|---|---|
.. | ||
ansible |