if we do not have lvm installed at all we should ignore the failure here
This commit is contained in:
parent
a408629158
commit
163569f068
1 changed files with 2 additions and 0 deletions
|
@ -89,6 +89,7 @@
|
|||
#
|
||||
- name: disable lvmetad
|
||||
lineinfile: dest=/etc/lvm/lvm.conf regexp="^(.*)use_lvmetad = 1" line="\1use_lvmetad = 0" backrefs=yes
|
||||
failed_when: false
|
||||
tags:
|
||||
- config
|
||||
- nolvmetad
|
||||
|
@ -96,6 +97,7 @@
|
|||
# Also kill the service with fire
|
||||
- name: disable lvm2-lvmetad service
|
||||
service: name=lvm2-lvmetad state=stopped enabled=no
|
||||
failed_when: false
|
||||
tags:
|
||||
- config
|
||||
- nolvmetad
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue