1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-05-03 06:12:50 +00:00

podman_image: use correct option for remove_signatures flag

podman_image module uses 'podman push' command with wrong
flag '--remove_signatures' instead of '--remove-signatures'

This patch fixes the given typo.

Fixes: ansible/ansible#67965

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2020-04-16 16:59:12 +05:30
parent 3473faac77
commit 540a92a3ca

View file

@ -583,7 +583,7 @@ class PodmanImageManager(object):
args.extend(['--format', push_format])
if self.push_args.get('remove_signatures'):
args.append('--remove_signatures')
args.append('--remove-signatures')
sign_by_key = self.push_args.get('sign_by')
if sign_by_key: