ff
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 4s
ansible-lint / Ansible Lint (pull_request) Successful in 28s

This commit is contained in:
Michael Grote 2024-12-30 18:39:37 +01:00
parent 0f31d1032c
commit dcadcaf1d3
4 changed files with 0 additions and 55 deletions

View file

@ -46,6 +46,3 @@
- role: mgrote_install_deb_files_from_url - role: mgrote_install_deb_files_from_url
tags: "deb" tags: "deb"
become: true 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" : []
}