homeserver/roles/mgrote.timeshift/tasks/main.yml
mg 0d17626c8f laptop (#129)
doku

bash alias als dotfile entfernt

rg als standard

dotfiles source

timeshift

aufgeräumt

tasks

wip

timeshift

snapd

temp aus tasks

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#129
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-06-24 07:25:32 +02:00

23 lines
511 B
YAML

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