Skip to content

v2.0.9 fails with Gitlab 17.8.2: gitlab_runner_helper_package is undefined #375

@BenMatheja

Description

@BenMatheja

When upgrading to v2.0.9 the role does throw errors in ansible check mode which cannot be reproduced with 2.0.8

TASK [riemers.gitlab-runner : (Debian) Install GitLab Runner Helpers] **********
fatal: [pandora]: FAILED! => {"msg": "The task includes an option with an undefined variable.. 'gitlab_runner_helper_package' is undefined\n\nThe error appears to be in '/root/.ansible/roles/riemers.gitlab-runner/tasks/install-debian.yml': line 55, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: (Debian) Install GitLab Runner Helpers\n  ^ here\n"}

My Setup is a Ubuntu 24.04 VM where the Runners are installed on the OS. Gitlab CE is at 17.8.2-ce.0.
When pinning down the role to 2.0.8 everything works as before

roles:
  - name: riemers.gitlab-runner
    version: v2.0.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions