it helps if you look for the state you want to change from
This commit is contained in:
parent
75e059a9ae
commit
189e8d1000
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
|||
# Disable lvmetad as it causes lots of problems with iscsi shared lvm and caching.
|
||||
#
|
||||
- name: disable lvmetad
|
||||
lineinfile: dest=/etc/lvm/lvm.conf regexp="^(.*)use_lvmetad = 0" line="\1use_lvmetad = 0" backrefs=yes
|
||||
lineinfile: dest=/etc/lvm/lvm.conf regexp="^(.*)use_lvmetad = 1" line="\1use_lvmetad = 0" backrefs=yes
|
||||
tags:
|
||||
- config
|
||||
- nolvmetad
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue