# Ansible “msg”: “Failed to find required executable pvs”

**URL:** <https://forum.ansible.com/t/ansible-msg-failed-to-find-required-executable-pvs/21798>\
**Category:** Ansible Project\
**Created:** [June 16, 2016, 10:35pm UTC](https://forum.ansible.com/t/ansible-msg-failed-to-find-required-executable-pvs/21798 "2016-06-16T22:35:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Daley](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Tim\_Daley](https://forum.ansible.com/u/Tim_Daley)\
**Post date:** [June 16, 2016, 10:35pm UTC](https://forum.ansible.com/t/ansible-msg-failed-to-find-required-executable-pvs/21798/1 "2016-06-16T22:35:44Z")

</div>

I’m using the following in Ansible 2.1 on OSX and getting the subject message:

lvg: vg=vgname pvs=pvname state=present

Bug? or what am I doing wrong.

This syntax was working OK with ansible 1.9.1

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [June 17, 2016, 7:19pm UTC](https://forum.ansible.com/t/ansible-msg-failed-to-find-required-executable-pvs/21798/2 "2016-06-17T19:19:46Z")

</div>

The syntax is fine.  
The messages say it can't find the executable pvs. Do the target host have lvm installed?

---

<div class="post-metadata">

**Author:** ![Tim\_Daley](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Tim\_Daley](https://forum.ansible.com/u/Tim_Daley)\
**Post date:** [June 17, 2016, 8:17pm UTC](https://forum.ansible.com/t/ansible-msg-failed-to-find-required-executable-pvs/21798/3 "2016-06-17T20:17:12Z")

</div>

I must have missed the fact that lvm2 didn’t get installed. Thanks!
