Commit 4140de56 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

add opts when creating volumes_add

parent 0866be46
......@@ -9,7 +9,8 @@
, 'vgname': item.vgname| default(item.mount_point | regex_replace('^.*/([^/]+$)','vg_\\1'))
, 'lvname': item.lvname| default(item.mount_point | regex_replace('^.*/([^/]+$)','lv_\\1'))
, 'mount_point': item.mount_point
, 'fs_type': item.fs_type| default('ext4')}] }}"
, 'fs_type': item.fs_type| default('ext4')
, 'opts': item.opts }] }}"
with_items: "{{ volumes }}"
- name: "Create new volume groups"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment