removed warn, which is added in 2.3

This commit is contained in:
Brian Coca 2017-02-10 08:30:33 -05:00
parent 20d67cc562
commit 68dbed2a5e

View file

@ -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):