homeserver/roles/mgrote.timeshift/tasks/main.yml
mg 02a6c6d5a7 laptop (#138)
dotfiles stash

pip weg

polybar group video

defaukts atom

timeshift aufgeräumt

defaults vivaldi

defaults xnview

doku

xautolock

vars

playbooks

atom

aufgeräumt

testvm

same2

same

bugfix alacritty

i3: rofi

abhängigkeiten

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#138
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-07-01 15:26:45 +02:00

24 lines
514 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 timeshift cronjob
become: yes
ansible.builtin.cron:
name: restic
state: present
job: "/usr/bin/timeshift --scripted --create"
minute: "7"
hour: "*/4"