From 8a10472a3d360e97d01a4db37701b4d325877066 Mon Sep 17 00:00:00 2001 From: Patrick Ogenstad Date: Wed, 13 Sep 2017 20:51:36 +0200 Subject: [PATCH] Fix to not warn for context and passwords The parameters 'context' and 'passwords' were wrongly marked as being deprecated. --- lib/ansible/module_utils/asa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/asa.py b/lib/ansible/module_utils/asa.py index 2a95174c78..4c2dcde37e 100644 --- a/lib/ansible/module_utils/asa.py +++ b/lib/ansible/module_utils/asa.py @@ -62,7 +62,7 @@ def check_args(module): provider = module.params['provider'] or {} for key in asa_argument_spec: - if key not in ['provider', 'authorize'] and module.params[key]: + if key not in ['context', 'passwords', 'provider', 'authorize'] and module.params[key]: module.warn('argument %s has been deprecated and will be removed in a future version' % key) if provider: