Removed udev rule and just use timer

This commit is contained in:
Kevin Veen-Birkenbach 2023-05-02 15:22:02 +02:00
parent 708cd44666
commit 8c04fe88ed
2 changed files with 0 additions and 6 deletions

View File

@ -4,11 +4,6 @@
state: directory state: directory
mode: 0755 mode: 0755
- name: create backup-to-swappable.rule
template:
src: backup-to-swappable.rule.j2
dest: "/etc/udev/rules.d/backup-to-swappable.rule"
- name: create backup-to-swappable.sh - name: create backup-to-swappable.sh
copy: copy:
src: backup-to-swappable.sh src: backup-to-swappable.sh

View File

@ -1 +0,0 @@
ACTION=="add", KERNEL=="sd[a-z]", ENV{ID_SERIAL_SHORT}=="{{backup_to_swappable_serial_short}}", RUN+="systemctl start backup-to-swappable.service"