mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 03:07:14 +02:00
Renamed server roles
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- native-sshd
|
||||
- server_native-sshd
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# role native-user-backup
|
||||
# role server_native-user-backup
|
||||
User for backups
|
||||
|
||||
## todo
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user