Renamed server roles

This commit is contained in:
2023-04-18 15:41:14 +02:00
parent 9b065dfc5d
commit cd9eca8ee3
136 changed files with 348 additions and 348 deletions

View File

@@ -1,2 +1,2 @@
dependencies:
- native-sshd
- server_native-sshd

View File

@@ -1,4 +1,4 @@
# role native-user-backup
# role server_native-user-backup
User for backups
## todo

View File

@@ -10,8 +10,8 @@ fi
get_hashed_machine_id="sha256sum /etc/machine-id";
get_backup_types="find /Backups/{{hashed_machine_id.stdout}}/ -maxdepth 1 -type d -execdir basename {} ;";
# @todo This configuration is not scalable yet. If other backup services then docker-volume-backup are integrated, this logic needs to be optimized
get_static_last_version_dir="readlink -f /Backups/{{hashed_machine_id.stdout}}/docker-volume-backup/latest"
# @todo This configuration is not scalable yet. If other backup services then server_docker-volume-backup are integrated, this logic needs to be optimized
get_static_last_version_dir="readlink -f /Backups/{{hashed_machine_id.stdout}}/server_docker-volume-backup/latest"
rsync_command="sudo rsync --server --sender -blogDtpre.iLsfxCIvu . $($get_static_last_version_dir)/"
# filter commands