Bugfix: nur Production Runner werden registriert
This commit is contained in:
parent
4315e1fa4f
commit
5705532e7a
4 changed files with 30 additions and 7 deletions
|
@ -9,10 +9,3 @@
|
|||
pip_package: python3-pip
|
||||
pip_install_packages:
|
||||
- name: python-gitlab
|
||||
### mgrote.gitlab-runner
|
||||
gitlab_runner:
|
||||
- api_url: https://git.mgrote.net
|
||||
registration_token: "{{ lookup('keepass', 'gitlab_runner_registration_token', 'password') }}"
|
||||
api_token: "{{ lookup('keepass', 'gitlab_runner_api_token', 'password') }}" #Token: ansible-gitlab-runner
|
||||
api_username: root
|
||||
description: "{{ ansible_hostname }}"
|
||||
|
|
10
host_vars/gitlab-runner-staging.grote.lan.yml
Normal file
10
host_vars/gitlab-runner-staging.grote.lan.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
### mgrote.gitlab-runner
|
||||
gitlab_runner:
|
||||
- api_url: https://git.mgrote.net
|
||||
registration_token: "{{ lookup('keepass', 'gitlab_runner_registration_token', 'password') }}"
|
||||
api_token: "{{ lookup('keepass', 'gitlab_runner_api_token', 'password') }}" #Token: ansible-gitlab-runner
|
||||
api_username: root
|
||||
description: "{{ ansible_hostname }}"
|
||||
active: "false"
|
||||
state: "absent"
|
10
host_vars/gitlab-runner-test.grote.lan.yml
Normal file
10
host_vars/gitlab-runner-test.grote.lan.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
### mgrote.gitlab-runner
|
||||
gitlab_runner:
|
||||
- api_url: https://git.mgrote.net
|
||||
registration_token: "{{ lookup('keepass', 'gitlab_runner_registration_token', 'password') }}"
|
||||
api_token: "{{ lookup('keepass', 'gitlab_runner_api_token', 'password') }}" #Token: ansible-gitlab-runner
|
||||
api_username: root
|
||||
description: "{{ ansible_hostname }}"
|
||||
active: "false"
|
||||
state: "absent"
|
10
host_vars/gitlab-runner.grote.lan.yml
Normal file
10
host_vars/gitlab-runner.grote.lan.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
### mgrote.gitlab-runner
|
||||
gitlab_runner:
|
||||
- api_url: https://git.mgrote.net
|
||||
registration_token: "{{ lookup('keepass', 'gitlab_runner_registration_token', 'password') }}"
|
||||
api_token: "{{ lookup('keepass', 'gitlab_runner_api_token', 'password') }}" #Token: ansible-gitlab-runner
|
||||
api_username: root
|
||||
description: "{{ ansible_hostname }}"
|
||||
active: "true"
|
||||
state: "present"
|
Loading…
Reference in a new issue