diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-05-22 08:52:38 -0400 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-05-22 08:52:38 -0400 |
commit | d0025ee5343bd92a778ef13c35d3b29b084da6bd (patch) | |
tree | 553dcef8343a80503641d93db5bf882c56896a2e /roles/lvm/tasks | |
parent | a421be15346f29adf0188c40b58c8070097ad256 (diff) | |
download | selfhosted-d0025ee5343bd92a778ef13c35d3b29b084da6bd.tar.gz selfhosted-d0025ee5343bd92a778ef13c35d3b29b084da6bd.zip |
lvm: fix config generation
Diffstat (limited to 'roles/lvm/tasks')
-rw-r--r-- | roles/lvm/tasks/main.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/roles/lvm/tasks/main.yml b/roles/lvm/tasks/main.yml index 5ad3f6c..22a40d5 100644 --- a/roles/lvm/tasks/main.yml +++ b/roles/lvm/tasks/main.yml @@ -1,5 +1,4 @@ - name: set use_devicesfile option - replace: - path: /etc/lvm/lvm.conf - regexp: '^(\s*)use_devicesfile\s*=.*' - replace: '\1use_devicesfile = {{ lvm_use_devicesfile | int }}' + template: + src: etc/lvm/lvm.conf.j2 + dest: /etc/lvm/lvm.conf |