Git Product home page Git Product logo

Comments (5)

Flowm avatar Flowm commented on August 25, 2024 1

Ran into the same issue just now.
Not sure about the cause, but I was able to work around this by temporarily removing the failing task as its only purpose is to unpin/ unhold the specified version in order to switch to a different version. As this was an ansible run on a clean install there is no packaged pinned and this step isn't required.

diff --git a/tasks/install-debian.yml b/tasks/install-debian.yml
index bed1dc7..2eed085 100644
--- a/tasks/install-debian.yml
+++ b/tasks/install-debian.yml
@@ -30,12 +30,6 @@
     gitlab_runner_package_state: "latest"
   when: gitlab_runner_package_version is not defined

-- name: (Debian) Unhold GitLab Runner version
-  changed_when: false
-  dpkg_selections:
-    name: "{{ gitlab_runner_package_name }}"
-    selection: install
-
 - name: (Debian) Install GitLab Runner
   apt:
     name: "{{ gitlab_runner_package }}"

from ansible-gitlab-runner.

artinnok avatar artinnok commented on August 25, 2024

@Flowm thank you for providing details!

I was forced to make few more changes in files:

  • tasks/install-debian.yml
  • tasks/register-runner.yml

Full diff of my changes available at - master...artinnok:ansible-gitlab-runner:master

Only after such modifications I was able to run this role.

from ansible-gitlab-runner.

github-actions avatar github-actions commented on August 25, 2024

Seems this message did not get a lot of love. This does not mean it was not seen but time wise might not have made it to proper attention. This is just the clean up action ;)

from ansible-gitlab-runner.

tmsmako avatar tmsmako commented on August 25, 2024

Hello @riemers!

Using this role to maintain several machines and looking forward for an "official" fix that allows to skip (Debian) Unhold GitLab Runner version. Please..! :)

from ansible-gitlab-runner.

guenhter avatar guenhter commented on August 25, 2024

Feel free to submit a MR which fixes this. This repo is from-the-community-for-the-community.

from ansible-gitlab-runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.