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
|
- name: disable lvmetad
|
||||||
lineinfile: dest=/etc/lvm/lvm.conf regexp="^(.*)use_lvmetad = 1" line="\1use_lvmetad = 0" backrefs=yes
|
lineinfile: dest=/etc/lvm/lvm.conf regexp="^(.*)use_lvmetad = 1" line="\1use_lvmetad = 0" backrefs=yes
|
||||||
|
failed_when: false
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- nolvmetad
|
- nolvmetad
|
||||||
|
@ -96,6 +97,7 @@
|
||||||
# Also kill the service with fire
|
# Also kill the service with fire
|
||||||
- name: disable lvm2-lvmetad service
|
- name: disable lvm2-lvmetad service
|
||||||
service: name=lvm2-lvmetad state=stopped enabled=no
|
service: name=lvm2-lvmetad state=stopped enabled=no
|
||||||
|
failed_when: false
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- nolvmetad
|
- nolvmetad
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue