mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-06 13:23:06 +00:00
CI: Run jobs for all non-EOL Ansible versions
Switch Jammy nodesets to Noble Change-Id: I7d18196c12d5670a5a458d64d901ffcf3b0b0af4 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
This commit is contained in:
@@ -32,16 +32,15 @@
|
||||
|
||||
import abc
|
||||
import copy
|
||||
from ansible.module_utils.six import raise_from
|
||||
try:
|
||||
from ansible.module_utils.compat.version import StrictVersion
|
||||
except ImportError:
|
||||
try:
|
||||
from distutils.version import StrictVersion
|
||||
except ImportError as exc:
|
||||
raise_from(ImportError('To use this plugin or module with ansible-core'
|
||||
' < 2.11, you need to use Python < 3.12 with '
|
||||
'distutils.version present'), exc)
|
||||
raise ImportError(f'To use this plugin or module with ansible-core'
|
||||
f' < 2.11, you need to use Python < 3.12 with '
|
||||
f'distutils.version present. {exc}')
|
||||
import importlib
|
||||
import os
|
||||
|
||||
|
||||
Reference in New Issue
Block a user