diff --git a/roles/independent_backup-to-swappable/tasks/main.yml b/roles/independent_backup-to-swappable/tasks/main.yml index 569bd7a8..00821f0e 100644 --- a/roles/independent_backup-to-swappable/tasks/main.yml +++ b/roles/independent_backup-to-swappable/tasks/main.yml @@ -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 diff --git a/roles/independent_backup-to-swappable/templates/backup-to-swappable.rule.j2 b/roles/independent_backup-to-swappable/templates/backup-to-swappable.rule.j2 deleted file mode 100644 index 1aacf227..00000000 --- a/roles/independent_backup-to-swappable/templates/backup-to-swappable.rule.j2 +++ /dev/null @@ -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" \ No newline at end of file