mg
02a6c6d5a7
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>
23 lines
514 B
YAML
23 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"
|