The current task doesn't works (typo?).
Otherwise api/lvm.py can't work properly, functions such as
`get_single_lv()` and many other don't return the expected results.
Indeed, lvm is confused because of the nvme_loop setup.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
a5fab15e44517ac63f3fd257989e81b8127b86d9)
- name: tell lvm to ignore loop devices
lineinfile:
path: /etc/lvm/lvm.conf
- line: ' global_filter = [ "r|loop|", "a|.*|" ]'
- insertafter: '^devices {'
+ line: "\tfilter = [ 'r|loop.*|' ]"
+ insertafter: 'devices {'
- name: lvm allow changes depsite duplicate PVIDs
lineinfile:
path: /etc/lvm/lvm.conf