mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-09 15:44:20 -07:00
[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>
This commit is contained in:
parent
a5824a2a9d
commit
590ff351b4
3 changed files with 19 additions and 0 deletions
2
changelogs/fragments/6294-fix-one_vm-instantiation.yml
Normal file
2
changelogs/fragments/6294-fix-one_vm-instantiation.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- one_vm - fix syntax error when creating VMs with a more complex template (https://github.com/ansible-collections/community.general/issues/6225).
|
Loading…
Add table
Add a link
Reference in a new issue