diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-07-22 13:42:20 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-07-22 13:43:01 +0200 |
commit | 85bbe43fb095e17a280de3f8d6fe688ab68ba72b (patch) | |
tree | ee0b2d38df056c6ab12204d10cefcb0354bfae49 /roles/storage/zfs/pools/tasks/enable-systemd-mount-generator.yml | |
parent | smokeping exporter now supports setting of source (diff) |
remove zfs mount generator hack - which is no longer needed
Diffstat (limited to 'roles/storage/zfs/pools/tasks/enable-systemd-mount-generator.yml')
-rw-r--r-- | roles/storage/zfs/pools/tasks/enable-systemd-mount-generator.yml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/roles/storage/zfs/pools/tasks/enable-systemd-mount-generator.yml b/roles/storage/zfs/pools/tasks/enable-systemd-mount-generator.yml index 59157d4a..1d50c873 100644 --- a/roles/storage/zfs/pools/tasks/enable-systemd-mount-generator.yml +++ b/roles/storage/zfs/pools/tasks/enable-systemd-mount-generator.yml @@ -21,11 +21,3 @@ ## TODO: if this is installed after the zpool has already been created zed needs to be triggered ## using something like: zfs set canmount=on DATASET - -### HACK HACK HACK (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966565) -- name: patch zfs mount generator (Debian Bug 966565) - when: ansible_distribution == 'Debian' - lineinfile: - path: /usr/lib/systemd/system-generators/zfs-mount-generator - regexp: '^pools=\$\(zpool list -H -o name\)$' - line: "pools=$(zpool list -H -o name || true)" |