# How to avoid handlers to get triggered when using --check

**URL:** <https://forum.ansible.com/t/how-to-avoid-handlers-to-get-triggered-when-using-check/17950>\
**Category:** Ansible Project\
**Created:** [April 10, 2015, 1:19am UTC](https://forum.ansible.com/t/how-to-avoid-handlers-to-get-triggered-when-using-check/17950 "2015-04-10T01:19:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manoj](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@Manoj](https://forum.ansible.com/u/Manoj)\
**Post date:** [April 10, 2015, 1:19am UTC](https://forum.ansible.com/t/how-to-avoid-handlers-to-get-triggered-when-using-check/17950/1 "2015-04-10T01:19:52Z")

</div>

Hi,

Since Ansible doesn’t allow to tag and skip handlers, how can I skip checking the handler init script exists when I run the playbook with --check?

For example

- name: restart webserver  
service:  
name: httpd  
state: restarted

If httpd is not installed previously then I dont want Ansible to check /etc/init.d/httpd exists when I use the --check option.

Thanks  
Manoj

---

<div class="post-metadata">

**Author:** ![Manoj](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@Manoj](https://forum.ansible.com/u/Manoj)\
**Post date:** [April 14, 2015, 11:38pm UTC](https://forum.ansible.com/t/how-to-avoid-handlers-to-get-triggered-when-using-check/17950/2 "2015-04-14T23:38:17Z")

</div>

Hi Folks,

None one?
