mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +01:00
Removed udev rule and just use timer
This commit is contained in:
parent
708cd44666
commit
8c04fe88ed
@ -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
|
||||||
|
@ -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