12 lines
369 B
YAML
12 lines
369 B
YAML
|
- 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) }}"
|