From 122780abce4420a7fe4652443259e13d52fef70c Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 31 Jul 2018 19:14:29 +0530 Subject: [PATCH] Fix args schema regression in k8s module Add back comma for required_one_of argument as it's supposed to be an iterable of iterables. PR #39787 by @Akasurde Fixes: #39786 Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/clustering/k8s/_kubernetes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/clustering/k8s/_kubernetes.py b/lib/ansible/modules/clustering/k8s/_kubernetes.py index 5e57e69e71b..d635f6341ab 100644 --- a/lib/ansible/modules/clustering/k8s/_kubernetes.py +++ b/lib/ansible/modules/clustering/k8s/_kubernetes.py @@ -349,7 +349,7 @@ def main(): mutually_exclusive=(('file_reference', 'inline_data'), ('url_username', 'insecure'), ('url_password', 'insecure')), - required_one_of=(('file_reference', 'inline_data')), + required_one_of=(('file_reference', 'inline_data'),), ) if not HAS_LIB_YAML: