[2.9] gitlab_project_variable: Remove sensitive information (#66559)

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>
(cherry picked from commit 84b68aa05f)
pull/67297/head
Abhijeet Kasurde 5 years ago committed by GitHub
parent 6f0f2c9d68
commit 99c96bbf42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -206,7 +206,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"])
)

Loading…
Cancel
Save