From 350e6514ae50bfa7113c2b55d5f15907afac3c67 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 19 Feb 2023 21:42:36 +0100 Subject: [PATCH] Rename backup batch config files --- playbooks/roles/services/backups/restic/tasks/main.yml | 4 ++-- .../{restic-volumes-service.yml.j2 => volumes.yml.j2} | 0 playbooks/roles/services/backups/snapshots/tasks/main.yml | 4 ++-- .../{syncoid-volumes-service.yml.j2 => volumes.yml.j2} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename playbooks/roles/services/backups/restic/templates/{restic-volumes-service.yml.j2 => volumes.yml.j2} (100%) rename playbooks/roles/services/backups/snapshots/templates/{syncoid-volumes-service.yml.j2 => volumes.yml.j2} (100%) 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