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

12 lines
369 B
YAML
Raw Normal View History

2023-06-19 19:15:16 +00:00
- 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) }}"