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/plugins/modules/source_control/gitlab
Markus Bergholz 33a65ae20f
Fix and rework gitlab_project_variable (#4038)
* rework-and-fix

* fix delete bug and change report

* delete the requested variables based on env scope

* fix absent logic when not purge: remove what is requested

* change code to current behaviour

* complete implementation

* fix delete

* restore origin return structure

* reorder

* add test for origin bug

* add changelog fragment

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

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

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

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

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

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

* remove yaml

* apply suggestions

* readd accidental removed line

* improve the truth of return value 'project_variable' in check mode

* fix pep8, over-indented

* fix typos and add subelement options

* Update changelogs/fragments/4038-fix-and-rework-gitlb-project-variable.yml

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

* Update changelogs/fragments/4038-fix-and-rework-gitlb-project-variable.yml

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

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

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

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

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

* Update plugins/modules/source_control/gitlab/gitlab_project_variable.py

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

* remove diff feature

* resolve all recommentdations

* resolve change requests, improve doc and remove default value before compare, because values always exists (prebuild)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-31 20:00:37 +01:00
..
gitlab_branch.py Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
gitlab_deploy_key.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
gitlab_group.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
gitlab_group_members.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
gitlab_group_variable.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
gitlab_hook.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
gitlab_project.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
gitlab_project_members.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
gitlab_project_variable.py Fix and rework gitlab_project_variable (#4038) 2022-01-31 20:00:37 +01:00
gitlab_protected_branch.py Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
gitlab_runner.py gitlab: use gitlab instance runner to create runner (#3965) 2022-01-31 05:58:00 +01:00
gitlab_user.py Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00