# handler is called in  v1.8.2

**URL:** <https://forum.ansible.com/t/handler-is-called-in-v1-8-2/17214>\
**Category:** Ansible Project\
**Created:** [January 8, 2015, 3:56am UTC](https://forum.ansible.com/t/handler-is-called-in-v1-8-2/17214 "2015-01-08T03:56:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hce](https://avatars.discourse-cdn.com/v4/letter/h/c0e974/32.png) [@hce](https://forum.ansible.com/u/hce)\
**Post date:** [January 8, 2015, 3:56am UTC](https://forum.ansible.com/t/handler-is-called-in-v1-8-2/17214/1 "2015-01-08T03:56:52Z")

</div>

Hi,

I have a task to use notify statement to call the handler, but it did not seem called. The output of tasks did not show the handler task. Should the output of tasks show the handler task if it was called?

Thanks.

- j

---

<div class="post-metadata">

**Author:** ![Tom\_Bamford](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@Tom\_Bamford](https://forum.ansible.com/u/Tom_Bamford)\
**Post date:** [January 8, 2015, 8:50am UTC](https://forum.ansible.com/t/handler-is-called-in-v1-8-2/17214/2 "2015-01-08T08:50:57Z")

</div>

Can you post some output? A handler will only be called if the task was considered changed.

---

<div class="post-metadata">

**Author:** ![hce](https://avatars.discourse-cdn.com/v4/letter/h/c0e974/32.png) [@hce](https://forum.ansible.com/u/hce)\
**Post date:** [January 8, 2015, 10:32pm UTC](https://forum.ansible.com/t/handler-is-called-in-v1-8-2/17214/3 "2015-01-08T22:32:02Z")

</div>

I think the run\_once may give me the trouble, after commented run\_once it was called. To be honest, I am not quite clear why we added the run\_once here as the code was referenced from some sample.

- name: “Reload exports”  
command: exportfs -ra  
delegate\_to: “{{ nfsserver }}”  
run\_once: true  
sudo: true

Thanks Tom,

- j
