Replace dest with path

This commit is contained in:
Daniel A. Maierhofer
2018-03-17 14:17:59 +01:00
parent e653560386
commit 15eaf1b443
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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