inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug (#8225)

Make wrapping variables as unsafe smarter to avoid triggering an AWX bug.
This commit is contained in:
Felix Fontein 2024-04-20 09:39:42 +02:00 committed by GitHub
parent 524d5883b8
commit 7fd37ea247
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 68 additions and 15 deletions

View file

@ -226,9 +226,9 @@ from ansible.module_utils.common.text.converters import to_native
from ansible.module_utils.six import string_types
from ansible.module_utils.six.moves.urllib.parse import urlencode
from ansible.utils.display import Display
from ansible.utils.unsafe_proxy import wrap_var as make_unsafe
from ansible_collections.community.general.plugins.module_utils.version import LooseVersion
from ansible_collections.community.general.plugins.plugin_utils.unsafe import make_unsafe
# 3rd party imports
try: