- Add instance-scoped base data/config directories in defaults - Create gitea-runner@.service.j2 template supporting Docker and binary modes - Refactor service.yml to install systemd template unit instances - Remove direct container lifecycle from docker_mode.yml (delegate to systemd) - Add deregister.yml for runner deregistration on disable/remove - Create lifecycle playbooks: start, stop, enable, disable, status, remove - Update handlers, integration_test, docker_update, binary_update for template units
10 lines
263 B
YAML
10 lines
263 B
YAML
---
|
|
- name: Include gitea_runner download
|
|
ansible.builtin.include_tasks: download_gitea_runner.yml
|
|
|
|
- name: Restart gitea-runner systemd instance
|
|
ansible.builtin.systemd:
|
|
name: "gitea-runner@{{ runner_name }}"
|
|
state: restarted
|
|
daemon_reload: true
|