# Using Ansible to Harden ESXi 6.5

**URL:** <https://forum.ansible.com/t/using-ansible-to-harden-esxi-6-5/24446>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [May 10, 2017, 12:42pm UTC](https://forum.ansible.com/t/using-ansible-to-harden-esxi-6-5/24446 "2017-05-10T12:42:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Nian](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@Bob\_Nian](https://forum.ansible.com/u/Bob_Nian)\
**Post date:** [May 10, 2017, 12:42pm UTC](https://forum.ansible.com/t/using-ansible-to-harden-esxi-6-5/24446/1 "2017-05-10T12:42:15Z")

</div>

Been working on a project that requires me to automate the hardening of my ESXi 6.5 hypervisor using Ansible by following the VMware Hardening Guidelines 6.5. So I’ve been wondering whether there’s anyone out there that have tried to use any automation scripting tools like Ansible to do automation of hardening on their hypervisor and have some sort of pointers or playbooks that have been done so that I could refer to. I can’t seem to find any sort of resources out on the net that touches on this after researching for a while. Any help would be great !

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 12, 2017, 1:42am UTC](https://forum.ansible.com/t/using-ansible-to-harden-esxi-6-5/24446/2 "2017-05-12T01:42:53Z")

</div>

There are several projects that deal with Ansible as a hardening tool,  
I'm not familiar with hypervisor specific ones but you can look at  
these:

[https://github.com/ansible/ansible-lockdown](https://github.com/ansible/ansible-lockdown)  
[https://github.com/openstack/openstack-ansible-security](https://github.com/openstack/openstack-ansible-security)
