mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
it helps if you look for the state you want to change from
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user