diff options
author | Patrick Ogenstad <patrick@ogenstad.com> | 2017-09-13 20:51:36 +0200 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2017-09-14 00:02:19 -0700 |
commit | 8a10472a3d360e97d01a4db37701b4d325877066 (patch) | |
tree | 6ae9cabd0a4eebe0c8aabaa0514d3e380c36c00d | |
parent | 02094eed711c53fed218e741a3aa8014a544e860 (diff) | |
download | ansible-8a10472a3d360e97d01a4db37701b4d325877066.tar.gz |
Fix to not warn for context and passwords
The parameters 'context' and 'passwords' were wrongly marked as being
deprecated.
-rw-r--r-- | lib/ansible/module_utils/asa.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |