avoid error when lv not defined

This commit is contained in:
Charlie Mordant
2020-05-11 14:23:32 +02:00
parent 976ff31d00
commit 59ffcfac4a

View File

@@ -103,7 +103,8 @@
when: >
((vg.create is defined and
vg.create) and
lv != 'None' and
(lv is defined and
lv != 'None') and
(lv.create is defined and
lv.create) and
(lv.mount is defined and