mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-26 12:05:09 +01:00
Removed udev rule and just use timer
This commit is contained in:
parent
2a2ee391ff
commit
cdf0f30a76
@ -4,11 +4,6 @@
|
||||
state: directory
|
||||
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
|
||||
copy:
|
||||
src: backup-to-swappable.sh
|
||||
|
@ -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"
|
Loading…
Reference in New Issue
Block a user