Missing correct dependency to python3-gitlab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ansible (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Since version 2.8 ansible ships with a module 'gitlab_runner': https:/
Ansible as included in Ubuntu Focal is missing the dependency to python3-gitlab:
https:/
Using the ansible module results in an error message like:
"msg": "Failed to import the required Python library (python-gitlab) on glr01-gitlab-
The dependencies of the ansible gitlab_runner module can be found here:
https:/
Using the package python3-gitlab does not solve the problem, because it has the wrong version.
The version in Ubuntu Focal is 2.0.1 while the required version is <1.12.1.
Trying to use version 2.0.1 results in:
File "/tmp/ansible_
File "/tmp/ansible_
TypeError: __init__() got an unexpected keyword argument 'email'
The incompatibility between ansible gitlab_runner module and python-gitlab was already fixed in ansible:
https:/ /github. com/ansible/ ansible/ pull/64989
but will not be included in ansible 2.9.
As you can read here:
https:/ /github. com/ansible/ ansible/ pull/65049
that this 'limitation' will be removed in ansible 2.10.