From e0efdba08cb9212388ad060617835a60a69bda6a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 4 Feb 2021 13:23:07 +0100 Subject: [PATCH] alte Rolle gitlab-Runner entfernt --- roles/mgrote.gitlab-runner/README.md | 10 ---------- roles/mgrote.gitlab-runner/defaults/main.yml | 3 --- roles/mgrote.gitlab-runner/handlers/main.yml | 13 ------------- roles/mgrote.gitlab-runner/meta/main.yml | 3 --- roles/mgrote.gitlab-runner/tasks/main.yml | 6 ------ 5 files changed, 35 deletions(-) delete mode 100644 roles/mgrote.gitlab-runner/README.md delete mode 100644 roles/mgrote.gitlab-runner/defaults/main.yml delete mode 100644 roles/mgrote.gitlab-runner/handlers/main.yml delete mode 100644 roles/mgrote.gitlab-runner/meta/main.yml delete mode 100644 roles/mgrote.gitlab-runner/tasks/main.yml diff --git a/roles/mgrote.gitlab-runner/README.md b/roles/mgrote.gitlab-runner/README.md deleted file mode 100644 index ed26464f..00000000 --- a/roles/mgrote.gitlab-runner/README.md +++ /dev/null @@ -1,10 +0,0 @@ -## mgrote.gitlab_runner - -### Beschreibung -Installiert einen Gitlab-Runner. - -### Funktioniert auf -- [X] Ubuntu (>=18.04) - -### Variablen + Defaults -see [defaults](./defaults/main.yml) diff --git a/roles/mgrote.gitlab-runner/defaults/main.yml b/roles/mgrote.gitlab-runner/defaults/main.yml deleted file mode 100644 index ce9bb2f4..00000000 --- a/roles/mgrote.gitlab-runner/defaults/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- - gitlab_runner_arch: amd64 #https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html - gitlab_runner_dl_link: "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_{{ gitlab_runner_arch }}.deb" diff --git a/roles/mgrote.gitlab-runner/handlers/main.yml b/roles/mgrote.gitlab-runner/handlers/main.yml deleted file mode 100644 index d559f099..00000000 --- a/roles/mgrote.gitlab-runner/handlers/main.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- - - name: "register_runner" - community.general.gitlab_runner: - api_url: "{{ item.api_url }}" - registration_token: "{{ item.registration_token }}" - api_token: "{{ item.api_token }}" - description: "{{ item.description|default('GitLab-Runner') }}" - state: "{{ item.state|default('present') }}" - active: "{{ item.active|default('True') }}" - run_untagged: True - locked: "{{ item.locked|default('False') }}" - loop: "{{ gitlab_runner }}" - no_log: true diff --git a/roles/mgrote.gitlab-runner/meta/main.yml b/roles/mgrote.gitlab-runner/meta/main.yml deleted file mode 100644 index 44c16ab8..00000000 --- a/roles/mgrote.gitlab-runner/meta/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- - collections: # Damit wird die Collection, wenn nicht vorhanden, als Abhängigkeit heruntergeladen. - - community.general diff --git a/roles/mgrote.gitlab-runner/tasks/main.yml b/roles/mgrote.gitlab-runner/tasks/main.yml deleted file mode 100644 index 1e2924f8..00000000 --- a/roles/mgrote.gitlab-runner/tasks/main.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- - - name: Install deb package - apt: - deb: "{{ gitlab_runner_dl_link }}" - state: present - notify: register_runner