1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins/module_utils
patchback[bot] 590ff351b4
[PR #6294/cb3ca05b backport][stable-6] one_vm: fix syntax error when creating VMs with a more complex template (#6342)
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

(cherry picked from commit cb3ca05bd1)

Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-04-16 13:40:09 +02:00
..
cloud [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
hwc Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
identity/keycloak Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
net_tools/pritunl Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
xenserver Add more default license and copyright notices (#5087) 2022-08-08 08:44:19 +02:00
conftest.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_cmd_runner.py [PR #5647/be22ca06 backport][stable-6] cmd_runner: allow bool format to pass alternate (false) value (#5650) 2022-12-04 12:39:30 +01:00
test_csv.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_database.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_known_hosts.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_module_helper.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_ocapi_utils.py [PR #5754/59a9d342 backport][stable-6] Remote management modules for OCAPI-based devices. (#5869) 2023-01-22 17:23:28 +01:00
test_onepassword.py onepassword - Support v2 (#4728) 2022-11-06 11:32:35 +01:00
test_opennebula.py [PR #6294/cb3ca05b backport][stable-6] one_vm: fix syntax error when creating VMs with a more complex template (#6342) 2023-04-16 13:40:09 +02:00
test_saslprep.py Add more license statements (#5079) 2022-08-07 13:37:23 +02:00
test_utm_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00