1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins/modules/source_control/gitlab
Amin Vakil 054eb90ae5
gitlab_user: add expires_at option (#2450)
* gitlab_user: add expires_at option

* Add changelog

* Add integration test

* Add expires_at to addSshKeyToUser function

* password is required if state is set to present

* Check expires_at will not be added to a present ssh key

* add documentation about present ssh key

* add expires_at to unit tests

* Improve documentation

Co-authored-by: Felix Fontein <felix@fontein.de>

* Only pass expires_at to api when it is not None

* Emphasize on SSH public key

* Apply felixfontein suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-05-14 10:00:59 +02:00
..
__init__.py
gitlab.py Allow gitlab_runner to function for non-admin users (#1491) 2021-01-24 21:02:44 +01:00
test_gitlab_deploy_key.py
test_gitlab_group.py added description parameter to create request (#1196) 2020-11-11 13:33:38 +01:00
test_gitlab_hook.py
test_gitlab_project.py gitlab_project: add support for merge_method on projects (#636) 2020-07-14 20:17:46 +05:30
test_gitlab_runner.py Allow gitlab_runner to function for non-admin users (#1491) 2021-01-24 21:02:44 +01:00
test_gitlab_user.py gitlab_user: add expires_at option (#2450) 2021-05-14 10:00:59 +02:00