diff --git a/playbooks/3_service/laptop.yml b/playbooks/3_service/laptop.yml index 4f7e2c39..689bee78 100644 --- a/playbooks/3_service/laptop.yml +++ b/playbooks/3_service/laptop.yml @@ -46,6 +46,3 @@ - role: mgrote_install_deb_files_from_url tags: "deb" become: true - - role: mgrote_timeshift - tags: "timeshift" - become: true diff --git a/roles/mgrote_timeshift/handlers/main.yml b/roles/mgrote_timeshift/handlers/main.yml deleted file mode 100644 index dced8ff2..00000000 --- a/roles/mgrote_timeshift/handlers/main.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- name: create snapshot - become: true - ansible.builtin.shell: "/usr/bin/timeshift --scripted --create" diff --git a/roles/mgrote_timeshift/tasks/main.yml b/roles/mgrote_timeshift/tasks/main.yml deleted file mode 100644 index 2663b394..00000000 --- a/roles/mgrote_timeshift/tasks/main.yml +++ /dev/null @@ -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" diff --git a/roles/mgrote_timeshift/templates/timeshift.json b/roles/mgrote_timeshift/templates/timeshift.json deleted file mode 100644 index 8586dc94..00000000 --- a/roles/mgrote_timeshift/templates/timeshift.json +++ /dev/null @@ -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" : [] -}