Files
grm/ansible/roles/gitea-runner/molecule/multi-instance/converge.yml
T
Emil Simeonov c05d7c9c4f
CI / lint (push) Has been cancelled
CI / unit-tests (push) Has been cancelled
CI / molecule-tests (push) Has been cancelled
GRM-20: fix: set runner_mode to binary in multi-instance converge
The multi-instance scenario verify playbook expects config files at
/etc/gitea-runner/<name>/config.yaml (binary mode path). Without
runner_mode set, the role defaulted to docker mode, which places the
config in /var/lib/gitea-runner/<name>/config.yaml instead.

Add runner_mode: binary to both converge plays so config placement
matches the verify assertions.
2026-06-19 10:51:36 +02:00

25 lines
596 B
YAML

---
- name: Converge first runner instance
hosts: all
become: true
vars:
gitea_url: "http://localhost:3000"
registration_token: "fake-token-for-testing"
runner_name: "molecule-runner-a"
runner_mode: "binary"
skip_runner_registration: true
roles:
- role: gitea-runner
- name: Converge second runner instance
hosts: all
become: true
vars:
gitea_url: "http://localhost:3000"
registration_token: "fake-token-for-testing"
runner_name: "molecule-runner-b"
runner_mode: "binary"
skip_runner_registration: true
roles:
- role: gitea-runner