19 lines
397 B
YAML
19 lines
397 B
YAML
---
|
|
|
|
- name: Copy forgejo-backup.sh script
|
|
become: true
|
|
ansible.builtin.template:
|
|
src: forgejo-backup.sh.j2
|
|
dest: /usr/local/bin/forgejo-backup.sh
|
|
owner: git
|
|
group: git
|
|
mode: 0700
|
|
|
|
- name: Create forgejo-dumps directory
|
|
become: true
|
|
ansible.builtin.file:
|
|
path: "{{ forgejo_run_dir }}/forgejo-dumps"
|
|
state: directory
|
|
owner: git
|
|
group: git
|
|
mode: 0755
|