diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 97b92db6a00..eca1ccae23d 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -1641,7 +1641,6 @@ class AnsibleModule(object): # try to capture all passwords/passphrase named fields elif arg_type != 'bool' and PASSWORD_MATCH.search(param): log_args[param] = 'NOT_LOGGING_PASSWORD' - self.warn('Module did not set no_log for %s' % param) else: param_val = self.params[param] if not isinstance(param_val, basestring):