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:
parent
b153180361
commit
0b6e3041dc
2 changed files with 4 additions and 4 deletions
|
|
@ -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']:
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
assert:
|
||||
that:
|
||||
- remove_pod is changed
|
||||
|
||||
|
||||
- name: Get deleted pod info
|
||||
containers.podman.podman_pod_info:
|
||||
executable: "{{ test_executable | default('podman') }}"
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
assert:
|
||||
that:
|
||||
- nonexist.pods == []
|
||||
|
||||
|
||||
always:
|
||||
|
||||
- name: Delete all pods leftovers from tests
|
||||
|
|
@ -176,4 +176,4 @@
|
|||
ansible_python_interpreter: "/usr/bin/python"
|
||||
kube_dir: /tmp
|
||||
kube_file: multi-yaml.yml
|
||||
target_container: foobar-container-1
|
||||
target_container: foobar-container-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue