summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scherer <mscherer@users.noreply.github.com>2016-10-13 22:30:02 +0200
committerAdrian Likins <alikins@redhat.com>2016-10-13 16:30:02 -0400
commit9718a58be4773e3efa4e3b5fef2b7bca35c1acc9 (patch)
tree2add13a65d2705fa95b6e7f1a66570d7c38ee506
parent6795954dc80c444e608e3b26a3c5666fb28847a3 (diff)
downloadansible-modules-core-9718a58be4773e3efa4e3b5fef2b7bca35c1acc9.tar.gz
Do not leak api_key or root password in log (#5201)
-rw-r--r--cloud/linode/linode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud/linode/linode.py b/cloud/linode/linode.py
index 022dc231..079feea3 100644
--- a/cloud/linode/linode.py
+++ b/cloud/linode/linode.py
@@ -443,14 +443,14 @@ def main():
state = dict(default='present', choices=['active', 'present', 'started',
'deleted', 'absent', 'stopped',
'restarted']),
- api_key = dict(),
+ api_key = dict(no_log=True),
name = dict(type='str'),
plan = dict(type='int'),
distribution = dict(type='int'),
datacenter = dict(type='int'),
linode_id = dict(type='int', aliases=['lid']),
payment_term = dict(type='int', default=1, choices=[1, 12, 24]),
- password = dict(type='str'),
+ password = dict(type='str', no_log=True),
ssh_pub_key = dict(type='str'),
swap = dict(type='int', default=512),
wait = dict(type='bool', default=True),