This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/_ansible/roles/gitea-runner/tasks/prompt-registration-token.yml

11 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) }}"