mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Do not leak api_key or root password in log (#5201)
This commit is contained in:
parent
2127459794
commit
180977a727
1 changed files with 2 additions and 2 deletions
|
@ -443,14 +443,14 @@ def main():
|
||||||
state = dict(default='present', choices=['active', 'present', 'started',
|
state = dict(default='present', choices=['active', 'present', 'started',
|
||||||
'deleted', 'absent', 'stopped',
|
'deleted', 'absent', 'stopped',
|
||||||
'restarted']),
|
'restarted']),
|
||||||
api_key = dict(),
|
api_key = dict(no_log=True),
|
||||||
name = dict(type='str'),
|
name = dict(type='str'),
|
||||||
plan = dict(type='int'),
|
plan = dict(type='int'),
|
||||||
distribution = dict(type='int'),
|
distribution = dict(type='int'),
|
||||||
datacenter = dict(type='int'),
|
datacenter = dict(type='int'),
|
||||||
linode_id = dict(type='int', aliases=['lid']),
|
linode_id = dict(type='int', aliases=['lid']),
|
||||||
payment_term = dict(type='int', default=1, choices=[1, 12, 24]),
|
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'),
|
ssh_pub_key = dict(type='str'),
|
||||||
swap = dict(type='int', default=512),
|
swap = dict(type='int', default=512),
|
||||||
wait = dict(type='bool', default=True),
|
wait = dict(type='bool', default=True),
|
||||||
|
|
Loading…
Reference in a new issue