From b439a44bc80cac4e8671b776406f4259e8ce06d1 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 11 Jan 2024 23:31:54 +0100 Subject: make generic use of storage/zfs, storage/lvm and storage/directory possible --- roles/storage/lvm/volume/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/storage/lvm/volume/tasks/main.yml') diff --git a/roles/storage/lvm/volume/tasks/main.yml b/roles/storage/lvm/volume/tasks/main.yml index 5b9cb1e7..9329965c 100644 --- a/roles/storage/lvm/volume/tasks/main.yml +++ b/roles/storage/lvm/volume/tasks/main.yml @@ -41,3 +41,7 @@ mode: "{{ lvm_volume.mode | default(omit) }}" owner: "{{ lvm_volume.owner | default(omit) }}" group: "{{ lvm_volume.group | default(omit) }}" + + - name: export volume mountpoint + set_fact: + storage_volume_mountpoint: "{{ lvm_volume.dest }}" -- cgit v1.2.3