GRM-10: fix: add timeout to runner registration to prevent indefinite hangs

This commit is contained in:
Emil Simeonov
2026-06-18 04:11:43 +02:00
parent 994c30da57
commit b48038a3a9
2 changed files with 2 additions and 0 deletions
@@ -39,6 +39,7 @@
- not skip_runner_registration
register: register_output
changed_when: "'already exists' not in register_output.stdout | default('')"
timeout: 60
- name: Check if gitea_runner container exists
ansible.builtin.command: docker inspect -f '{{ '{{' }} .State.Running {{ '}}' }}' gitea-runner-{{ runner_name }}
@@ -23,3 +23,4 @@
when: not runner_registered.stat.exists
register: register_output
changed_when: "'already exists' not in register_output.stdout | default('')"
timeout: 60