setup-cockpit/roles/gitea-backup/tasks/main.yml

14 lines
352 B
YAML

---
- name: Copy gitea-backup timer
copy:
src: gitea-backup.timer
dest: ~/.config/systemd/user/gitea-backup.timer
notify:
- Run daemon-reload
- Enable gitea-backup timer
- name: Copy gitea-backup service
template:
src: gitea-backup.service.j2
dest: ~/.config/systemd/user/gitea-backup.service
notify: Run daemon-reload