summaryrefslogtreecommitdiff
path: root/roles/storage/lvm/volume/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-22 21:20:00 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-22 21:20:00 +0100
commiteefa014c37bfca19afdde93c8c2ffd47d5190de1 (patch)
tree25531ce851e334ef2a18011f90d339998388e9db /roles/storage/lvm/volume/tasks/main.yml
parentstorage/lvm: simplify by moving thinpool handling to base role (diff)
storage/?/volume: add support for custom mount options
Diffstat (limited to 'roles/storage/lvm/volume/tasks/main.yml')
-rw-r--r--roles/storage/lvm/volume/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/storage/lvm/volume/tasks/main.yml b/roles/storage/lvm/volume/tasks/main.yml
index 7e8c304f..eabf4022 100644
--- a/roles/storage/lvm/volume/tasks/main.yml
+++ b/roles/storage/lvm/volume/tasks/main.yml
@@ -16,6 +16,7 @@
src: "/dev/mapper/{{ lvm_volume.parent.vg | default(lvm_volume.vg) | replace('-', '--') }}-{{ lvm_volume.lv | replace('-', '--') }}"
path: "{{ lvm_volume.dest }}"
fstype: "{{ lvm_volume.fs }}"
+ opts: "{{ lvm_volume.mntopts | default(omit) }}"
state: mounted
- name: set volume owner/group and mode