mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Proxmox inventory plugin - Fix string to dict conversion (#4349)
* Proxmox inventory plugin - Fix string to dict conversion (#4348) * Re-use the (defined but unused) `plaintext_configs` variable to list configuration entries that should be ignored by the string to dictionary conversion code. At this point, it only contains the `description` string. * Convert to a dictionary if the all substrings obtained by splitting off the initial value with commas contain a `=` character * Limit substring splitting to a single split, so that a substring containing `a=b=c` will generate an `a` entry with value `b=c`. * Added changelog fragment for PR #4349 * Fix changelog fragment for #4349
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
---
|
||||
bugfixes:
|
||||
- proxmox inventory plugin - fixed the ``description`` field being ignored if
|
||||
it contained a comma
|
||||
(https://github.com/ansible-collections/community.general/issues/4348).
|
||||
- proxmox inventory plugin - always convert strings that follow the
|
||||
``key=value[,key=value[...]]`` form into dictionaries
|
||||
(https://github.com/ansible-collections/community.general/pull/4349).
|
||||
Reference in New Issue
Block a user