Add owner and group to backup-targets files

This commit is contained in:
2025-12-20 11:18:37 +03:00
parent 2eac1362b5
commit dcc4970b20
2 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,9 @@
path: "{{ base_dir }}/backup-targets"
line: "{{ item }}"
create: true
owner: "{{ app_user }}"
group: "{{ app_user }}"
mode: "0750"
loop:
- "{{ data_dir }}"
- "{{ media_dir }}"

View File

@@ -58,6 +58,9 @@
path: "{{ base_dir }}/backup-targets"
line: "{{ item }}"
create: true
owner: "{{ app_user }}"
group: "{{ app_user }}"
mode: "0750"
loop:
- "{{ data_dir }}"
- "{{ backups_dir }}"