diff --git a/playbooks/device_roles_workstation.yml b/playbooks/device_roles_workstation.yml index 4d694f2..a228900 100755 --- a/playbooks/device_roles_workstation.yml +++ b/playbooks/device_roles_workstation.yml @@ -5,10 +5,6 @@ - hosts: device_roles_workstation roles: - role: backup - vars: - backup_s3backup_tar_args_extra: h - backup_s3backup_list_extra: - - /home/salt tags: [ backup ] - role: desktop tags: [ desktop ] diff --git a/roles/backup/defaults/main.yml b/roles/backup/defaults/main.yml index 1493a81..6bc1134 100644 --- a/roles/backup/defaults/main.yml +++ b/roles/backup/defaults/main.yml @@ -20,7 +20,8 @@ backup_s3_aws_secret_access_key: REPLACEME # List of files/directories to back up # Note that tar is NOT instructed to recurse through symlinks # If you want it to do that, end the path with a slash! -backup_s3backup_list: [] +backup_s3backup_list: + - "/home/{{ adminuser_name }}" backup_s3backup_list_extra: [] # List of files/directories to --exclude backup_s3backup_exclude_list: []