Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When a Quadlet file is written, the "Label=" line values are not quoted. This causes issues if there are special or escape characters in the value.
For example, the following quadlet file is currently generated.
Version of the containers.podman collection:Either git commit if installed from git: git show --summaryOr version from ansible-galaxy if installed from galaxy: ansible-galaxy collection list | grep containers.podman
1.15.4
Output of ansible --version:
ansible [core 2.15.10]
Output of podman version:
$ podman --version
podman version 4.9.4-rhel
Package info (e.g. output of rpm -q podman or apt list podman):
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description When a Quadlet file is written, the "Label=" line values are not quoted. This causes issues if there are special or escape characters in the value.
For example, the following quadlet file is currently generated.
When it should be (notice the extra quotes around
Label=
.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Double quoting the label within containers.podman.podmain_container is a workaround.
Version of the
containers.podman
collection: Either git commit if installed from git:git show --summary
Or version fromansible-galaxy
if installed from galaxy:ansible-galaxy collection list | grep containers.podman
Output of
ansible --version
:Output of
podman version
:Package info (e.g. output of
rpm -q podman
orapt list podman
):