alte Rolle gitlab-Runner entfernt

This commit is contained in:
Michael Grote 2021-02-04 13:23:07 +01:00
parent e460c37d88
commit e0efdba08c
5 changed files with 0 additions and 35 deletions

View file

@ -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)

View file

@ -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"

View file

@ -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

View file

@ -1,3 +0,0 @@
---
collections: # Damit wird die Collection, wenn nicht vorhanden, als Abhängigkeit heruntergeladen.
- community.general

View file

@ -1,6 +0,0 @@
---
- name: Install deb package
apt:
deb: "{{ gitlab_runner_dl_link }}"
state: present
notify: register_runner