diff --git a/playbooks/roles/services/backups/restic/tasks/main.yml b/playbooks/roles/services/backups/restic/tasks/main.yml index 0eb9364..bda1094 100644 --- a/playbooks/roles/services/backups/restic/tasks/main.yml +++ b/playbooks/roles/services/backups/restic/tasks/main.yml @@ -23,6 +23,6 @@ - name: "{{ services_service_name }} : configure service restic backups" ansible.builtin.template: - src: "./restic-volumes-service.yml.j2" - dest: "/etc/restic-batch.d/restic-volumes-{{ services_service_name }}.yml" + src: "./volumes.yml.j2" + dest: "/etc/restic-batch.d/{{ services_service_user_name }}.yml" mode: 0644 diff --git a/playbooks/roles/services/backups/restic/templates/restic-volumes-service.yml.j2 b/playbooks/roles/services/backups/restic/templates/volumes.yml.j2 similarity index 100% rename from playbooks/roles/services/backups/restic/templates/restic-volumes-service.yml.j2 rename to playbooks/roles/services/backups/restic/templates/volumes.yml.j2 diff --git a/playbooks/roles/services/backups/snapshots/tasks/main.yml b/playbooks/roles/services/backups/snapshots/tasks/main.yml index a521f71..18d4382 100644 --- a/playbooks/roles/services/backups/snapshots/tasks/main.yml +++ b/playbooks/roles/services/backups/snapshots/tasks/main.yml @@ -27,6 +27,6 @@ - name: "{{ services_service_name }} : configure service syncoid snapshots" ansible.builtin.template: - src: "./syncoid-volumes-service.yml.j2" - dest: "/etc/syncoid-batch.d/syncoid-volumes-{{ services_service_name }}.yml" + src: "./volumes.yml.j2" + dest: "/etc/syncoid-batch.d/{{ services_service_user_name }}.yml" mode: 0644 diff --git a/playbooks/roles/services/backups/snapshots/templates/syncoid-volumes-service.yml.j2 b/playbooks/roles/services/backups/snapshots/templates/volumes.yml.j2 similarity index 100% rename from playbooks/roles/services/backups/snapshots/templates/syncoid-volumes-service.yml.j2 rename to playbooks/roles/services/backups/snapshots/templates/volumes.yml.j2