gitlab_project_variable: Remove sensitive information (#66556)

Redact GitLab Project variables which might include sensetive information
such as password, api_keys and other project related details.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2020-01-17 12:12:15 +05:30 committed by ansibot
parent cd760782c9
commit 84b68aa05f
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- Redact GitLab Project variables which might include sensetive information such as password, api_keys and other project related details.

View file

@ -208,7 +208,7 @@ def main():
api_token=dict(type='str', required=True, no_log=True),
project=dict(type='str', required=True),
purge=dict(type='bool', required=False, default=False),
vars=dict(type='dict', required=False, default=dict()),
vars=dict(type='dict', required=False, default=dict(), no_log=True),
state=dict(type='str', default="present", choices=["absent", "present"])
)