Replace dest with path
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
- name: snapper - /etc/fstab
|
||||
lineinfile:
|
||||
dest: /etc/fstab
|
||||
path: /etc/fstab
|
||||
line: "{{ snapper_blkid.stdout_lines[0] }} /.snapshots btrfs subvol=.snapshots 0 1"
|
||||
when: snapper_blkid.stdout_lines is defined
|
||||
notify: snapper - reload fstab
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
- name: zfs - zfs-auto-snapshot prefix
|
||||
lineinfile:
|
||||
dest: "{{ item }}"
|
||||
path: "{{ item }}"
|
||||
regexp: (.*zfs-auto-snapshot.*\d+)\ \ \/\/
|
||||
line: \1 --prefix= //
|
||||
backrefs: yes
|
||||
|
||||
Reference in New Issue
Block a user