2024-03-19 13:48:20 +01:00
|
|
|
---
|
|
|
|
- name: Run optional versionscheck
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'versioncheck.yml'
|
|
|
|
when: submodules_versioncheck | bool
|
2024-03-19 14:39:34 +01:00
|
|
|
|
2024-03-20 15:33:53 +01:00
|
|
|
- name: Create User ans Group for forgejo runner
|
2024-03-19 14:39:34 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'create_user.yml'
|
2024-03-20 15:33:53 +01:00
|
|
|
|
|
|
|
- name: Set forgejo runner version
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'set_runner_version.yml'
|
|
|
|
|
|
|
|
- name: Install forgejo runner binary
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'install_runner.yml'
|
2024-03-21 15:23:41 +01:00
|
|
|
|
|
|
|
- name: Configure forgejo runner
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'configure_runner.yml'
|
|
|
|
|
|
|
|
- name: Start forgejo runner as systemd service
|
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'systemd.yml'
|
|
|
|
when: ansible_service_mgr == "systemd"
|