add laptop setup #268

Merged
mg merged 44 commits from laptop_mint into master 2024-12-30 20:06:25 +01:00
4 changed files with 0 additions and 55 deletions
Showing only changes of commit dcadcaf1d3 - Show all commits

View file

@ -46,6 +46,3 @@
- role: mgrote_install_deb_files_from_url
tags: "deb"
become: true
- role: mgrote_timeshift
tags: "timeshift"
become: true

View file

@ -1,4 +0,0 @@
---
- name: create snapshot
become: true
ansible.builtin.shell: "/usr/bin/timeshift --scripted --create"

View file

@ -1,23 +0,0 @@
---
- name: install packages
become: true
ansible.builtin.package:
name:
- timeshift
state: present
notify: create snapshot
- name: copy timeshift config
become: true
ansible.builtin.template:
src: "timeshift.json"
dest: "/etc/timeshift/timeshift.json"
- name: create timeshift cronjob
become: true
ansible.builtin.cron:
name: restic
state: present
job: "/usr/bin/timeshift --scripted --create"
minute: "7"
hour: "*/4"

View file

@ -1,25 +0,0 @@
{
"backup_device_uuid" : "9b924961-0fd4-423f-b440-f2f3d1fa46d8",
"parent_device_uuid" : "",
"do_first_run" : "false",
"btrfs_mode" : "false",
"include_btrfs_home_for_backup" : "false",
"include_btrfs_home_for_restore" : "false",
"stop_cron_emails" : "false",
"btrfs_use_qgroup" : "false",
"schedule_monthly" : "false",
"schedule_weekly" : "false",
"schedule_daily" : "false",
"schedule_hourly" : "false",
"schedule_boot" : "false",
"count_monthly" : "2",
"count_weekly" : "3",
"count_daily" : "7",
"count_hourly" : "6",
"count_boot" : "5",
"snapshot_size" : "7515627384",
"snapshot_count" : "254372",
"date_format" : "%Y-%m-%d %H:%M:%S",
"exclude" : [],
"exclude-apps" : []
}