1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Mark the token as sensitive, since it shouldn't be printed (#2043)

This commit is contained in:
Michael Scherer 2016-04-18 17:19:14 +02:00 committed by Matt Clay
parent 48c20dd981
commit 3d21f7c5a4

View file

@ -109,7 +109,7 @@ def main():
argument_spec=dict( argument_spec=dict(
component=dict(required=True, aliases=['name']), component=dict(required=True, aliases=['name']),
version=dict(required=True), version=dict(required=True),
token=dict(required=True), token=dict(required=True, no_log=True),
state=dict(required=True, choices=['started', 'finished', 'failed']), state=dict(required=True, choices=['started', 'finished', 'failed']),
hosts=dict(required=False, default=[socket.gethostname()], aliases=['host']), hosts=dict(required=False, default=[socket.gethostname()], aliases=['host']),
env=dict(required=False), env=dict(required=False),