Specify in requirements one needs to have admin rights (#20455)

After much plumbing through the source code, python-gitlab and the Gitlab API I found out why I cannot update my ssh keys through this module - because it expects the user to have admin rights on the server. This could be made clearer in the requirements because the Gitlab API allows one to change his/her own profile, it's just that the module or the underlying library doesn't cover this use case.
This commit is contained in:
Peter Nagy 2017-01-20 01:17:33 +01:00 committed by Matt Davis
parent 19496b5b73
commit b4fb4420bb

View file

@ -32,6 +32,7 @@ version_added: "2.1"
author: "Werner Dijkerman (@dj-wasabi)"
requirements:
- pyapi-gitlab python module
- administrator rights on the Gitlab server
options:
server_url:
description: