GRM-20: Ensure runner data directory exists in binary mode

The binary_mode.yml task file did not create gitea_runner_data_dir
when runner registration was skipped (as in molecule tests). This
caused the binary scenario verify playbook to fail because the
data directory assertion expected it to exist.

Add an explicit directory creation step before config creation,
mirroring the docker_mode.yml structure.
This commit is contained in:
Emil Simeonov
2026-06-19 04:55:06 +02:00
parent ad7c6255d5
commit c91626a8ff
@@ -5,6 +5,12 @@
- name: Include gitea_runner download
ansible.builtin.include_tasks: download_gitea_runner.yml
- name: Ensure runner data directory exists
ansible.builtin.file:
path: "{{ gitea_runner_data_dir }}"
state: directory
mode: "0755"
- name: Include config creation
ansible.builtin.include_tasks: config.yml