1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Fix kube play annotations

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sagi Shnaidman 2024-04-08 00:05:56 +03:00 committed by Sergey
parent 453be5c5fd
commit 75c4834273
2 changed files with 4 additions and 4 deletions

View file

@ -202,7 +202,7 @@ class PodmanKubeManagement:
# pod_name = extract_pod_name(module.params['kube_file'])
if self.module.params['annotation']:
for k, v in self.module.params['annotation'].items():
self.command.extend(['--annotation', '"{k}={v}"'.format(k=k, v=v)])
self.command.extend(['--annotation', '{k}={v}'.format(k=k, v=v)])
if self.module.params['username']:
creds += [self.module.params['username']]
if self.module.params['password']: