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:
parent
e7d7575eaf
commit
10ee6ebf01
@ -233,7 +233,7 @@ def ansible_main():
|
|||||||
public=dict(type='bool', default=True),
|
public=dict(type='bool', default=True),
|
||||||
footer=dict(type='str'),
|
footer=dict(type='str'),
|
||||||
prefix=dict(type='str'),
|
prefix=dict(type='str'),
|
||||||
connection_string=dict(type='str'),
|
connection_string=dict(type='str', no_log=True),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -294,7 +294,7 @@ def run(cloud, container, files,
|
|||||||
def ansible_main():
|
def ansible_main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
cloud=dict(required=True, type='raw'),
|
cloud=dict(required=True, type='raw', no_log=True),
|
||||||
container=dict(required=True, type='str'),
|
container=dict(required=True, type='str'),
|
||||||
files=dict(required=True, type='list'),
|
files=dict(required=True, type='list'),
|
||||||
partition=dict(type='bool', default=False),
|
partition=dict(type='bool', default=False),
|
||||||
|
Loading…
Reference in New Issue
Block a user