diff --git a/tasks/virthost.yml b/tasks/virthost.yml index 7ed38790b4..d877c007f8 100644 --- a/tasks/virthost.yml +++ b/tasks/virthost.yml @@ -38,6 +38,12 @@ - name: enable libvirtd service: name=libvirtd state=started enabled=yes +# +# 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 = 1" line=" use_lvmetad = 0" backrefs=yes + - name: set bridging to work right - copy: src="{{ files }}/virthost/99-bridge.rules" dest=/etc/udev/rules.d/99-bridge.rules notify: