diff --git a/roles/gitea_runner/tasks/main.yml b/roles/gitea_runner/tasks/main.yml index 3647dce..e0a4664 100644 --- a/roles/gitea_runner/tasks/main.yml +++ b/roles/gitea_runner/tasks/main.yml @@ -52,6 +52,15 @@ group: act_runner notify: Restart act_runner +- name: Create cache directory + ansible.builtin.file: + path: /var/lib/act_runner/.cache + state: directory + mode: 0770 + owner: root + group: act_runner + notify: Restart act_runner + - name: Copy unit file ansible.builtin.copy: dest: /etc/systemd/system/act_runner.service