1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-26 06:10:10 +00:00
community.general/tests/unit/plugins/module_utils
Georg Gadinger cb3ca05bd1
one_vm: fix syntax error when creating VMs with a more complex template (#6294)
* one_vm: fix syntax error when creating VMs with a more complex template

with more complex templates that make use of quoted strings the new
"render" method fails to produce a template that is accepted by
OpenNebula.  ==> escape double quotes in strings to make OpenNebula
happy again.

I also tested whether newlines need to be escaped, looks like they are
fine as they are.

Fixes #6225

* module_utils/opennebula: skip empty values in render
2023-04-16 13:22:49 +02:00
..
cloud
hwc
identity/keycloak
net_tools/pritunl
xenserver
conftest.py
test_cmd_runner.py
test_csv.py
test_database.py
test_known_hosts.py
test_module_helper.py
test_ocapi_utils.py
test_onepassword.py
test_opennebula.py
test_saslprep.py
test_utm_utils.py