aboutsummaryrefslogtreecommitdiffstats
path: root/roles/lvm/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lvm/tasks')
-rw-r--r--roles/lvm/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/lvm/tasks/main.yml b/roles/lvm/tasks/main.yml
new file mode 100644
index 0000000..c4bb134
--- /dev/null
+++ b/roles/lvm/tasks/main.yml
@@ -0,0 +1,5 @@
+- name: set use_devicesfile option
+ replace:
+ path: /etc/lvm/lvm.conf
+ regexp: '^(\s*)use_devicesfile\s*='
+ replace: '\1use_devicesfile = {{ lvm_use_devicesfile | int }}