Add gitea-runner service
This commit is contained in:
parent
41580d3711
commit
63d62bd83f
7 changed files with 79 additions and 19 deletions
|
|
@ -0,0 +1,11 @@
|
|||
- name: Input gitea-runner registration token
|
||||
ansible.builtin.pause:
|
||||
prompt: "Enter a secret"
|
||||
echo: no
|
||||
register: promt_registration_token
|
||||
|
||||
- name: Put registration token into env vars
|
||||
ansible.builtin.set_fact:
|
||||
svc_env: "{{ svc_env | combine({
|
||||
'GITEA_RUNNER_REGISTRATION_TOKEN': promt_registration_token.user_input
|
||||
}, recursive=True) }}"
|
||||
Reference in a new issue