From 540a92a3ca406bd38149691b0fa6cd0cf7465c93 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Thu, 16 Apr 2020 16:59:12 +0530 Subject: [PATCH] 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 --- plugins/modules/podman_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/podman_image.py b/plugins/modules/podman_image.py index 4d80615..35e4c9f 100644 --- a/plugins/modules/podman_image.py +++ b/plugins/modules/podman_image.py @@ -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: