# Setting dns\_servers on linux guest using vmware\_guest module

**URL:** <https://forum.ansible.com/t/setting-dns-servers-on-linux-guest-using-vmware-guest-module/28440>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [August 28, 2018, 9:38am UTC](https://forum.ansible.com/t/setting-dns-servers-on-linux-guest-using-vmware-guest-module/28440 "2018-08-28T09:38:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorg\_Kastning](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Post date:** [August 28, 2018, 9:38am UTC](https://forum.ansible.com/t/setting-dns-servers-on-linux-guest-using-vmware-guest-module/28440/1 "2018-08-28T09:38:51Z")

</div>

Hi,

I read in [vmware\_guest documentation](https://docs.ansible.com/ansible/latest/modules/vmware_guest_module.html#vmware-guest-module) that Linux based OSes requires Perl package to be installed for OS customizations.

Do I have to install the perl package on the guest or on my ansible controller machine?

Regards,  
Joerg

---

<div class="post-metadata">

**Author:** ![Jonathan\_Lozada\_De\_L](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jonathan\_Lozada\_De\_L](https://forum.ansible.com/u/Jonathan_Lozada_De_L)\
**Post date:** [August 28, 2018, 11:59am UTC](https://forum.ansible.com/t/setting-dns-servers-on-linux-guest-using-vmware-guest-module/28440/2 "2018-08-28T11:59:20Z")

</div>

that sounds like on the guest that you create. So if you have a template you can clone then make sure it has perl.

---

<div class="post-metadata">

**Author:** ![Jorg\_Kastning](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Post date:** [January 22, 2019, 8:16am UTC](https://forum.ansible.com/t/setting-dns-servers-on-linux-guest-using-vmware-guest-module/28440/3 "2019-01-22T08:16:12Z")

</div>

Hi,

I just took a look at my template which is a minimal installation of RHEL 7. It has Perl installed, already. So all requirements should be met.

Regards,  
Joerg
