Add no_log to the log uploading module parameters

Use no_log parameter for potentially sensitive log uploading modules

Change-Id: I6264f1b028db0e4f1f74ae557847c146c00295da
This commit is contained in:
Artem Goncharov 2021-11-16 16:38:27 +01:00 committed by Artem Goncharov
parent e7d7575eaf
commit 10ee6ebf01
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ def ansible_main():
public=dict(type='bool', default=True),
footer=dict(type='str'),
prefix=dict(type='str'),
connection_string=dict(type='str'),
connection_string=dict(type='str', no_log=True),
)
)

View File

@ -294,7 +294,7 @@ def run(cloud, container, files,
def ansible_main():
module = AnsibleModule(
argument_spec=dict(
cloud=dict(required=True, type='raw'),
cloud=dict(required=True, type='raw', no_log=True),
container=dict(required=True, type='str'),
files=dict(required=True, type='list'),
partition=dict(type='bool', default=False),