Avoid token leak by marking it as sensitive with no_log (#1966)

This commit is contained in:
Michael Scherer 2016-04-07 18:47:57 +02:00 committed by Brian Coca
parent 7120fb4b01
commit bc198cc33a

View file

@ -113,7 +113,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
token=dict(required=True),
token=dict(required=True, no_log=True),
msg=dict(required=True),
type=dict(required=True, choices=["inbox","chat"]),
external_user_name=dict(required=False),