mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Proxmox inventory plugin - Fix tags parsing (#4378)
* Proxmox inventory plugin - Fix tags parsing * In some cases the Proxmox API returns a tags string that consists in a single space. The Proxmox inventory plugin parsed that into a single, empty tag. Stripping the initial string then checking whether it actually contains something fixes that. * Do not call `_to_safe` on the concatenation of a known safe string and a string that was already made safe. * Changelog fragment for Proxmox inventory plugin tags fix * Proxmox inventory plugin - Include link to PR in fragment Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
cb30eb2d30
commit
622895fb55
2 changed files with 8 additions and 2 deletions
4
changelogs/fragments/4378-proxmox-inventory-tags.yml
Normal file
4
changelogs/fragments/4378-proxmox-inventory-tags.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
bugfixes:
|
||||
- proxmox inventory plugin - fixed the ``tags_parsed`` field when Proxmox
|
||||
returns a single space for the ``tags`` entry (https://github.com/ansible-collections/community.general/pull/4378).
|
Loading…
Add table
Add a link
Reference in a new issue