# how to disable vcenter alarm for esxi host

**URL:** <https://forum.ansible.com/t/how-to-disable-vcenter-alarm-for-esxi-host/38164>\
**Category:** Ansible Project\
**Created:** [June 27, 2023, 6:12pm UTC](https://forum.ansible.com/t/how-to-disable-vcenter-alarm-for-esxi-host/38164 "2023-06-27T18:12:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [June 27, 2023, 6:12pm UTC](https://forum.ansible.com/t/how-to-disable-vcenter-alarm-for-esxi-host/38164/1 "2023-06-27T18:12:56Z")

</div>

any idea how to disable/enable vcenter alarm for esxi host in ansible task?

---

<div class="post-metadata">

**Author:** ![atul\_mohan](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@atul\_mohan](https://forum.ansible.com/u/atul_mohan)\
**Post date:** [August 19, 2023, 6:12pm UTC](https://forum.ansible.com/t/how-to-disable-vcenter-alarm-for-esxi-host/38164/2 "2023-08-19T18:12:56Z")

</div>

Ansible does not have a built-in module specifically designed to manage vCenter alarms for ESXi hosts. However, you can use the vmware\_vm\_vm\_drs\_rule module to work with DRS rules which are closely related to alarms.
