summaryrefslogtreecommitdiff
path: root/roles/storage/lvm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-11 23:31:54 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-11 23:31:54 +0100
commitb439a44bc80cac4e8671b776406f4259e8ce06d1 (patch)
tree4c470484091578fb01bf5836c5c8df906583f452 /roles/storage/lvm
parentstorage/lvm/base: allow global volumes (diff)
make generic use of storage/zfs, storage/lvm and storage/directory possible
Diffstat (limited to 'roles/storage/lvm')
-rw-r--r--roles/storage/lvm/volume/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
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 }}"