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

On Thursday, January 8, 2015 at 7:51:22 PM UTC+11, Tom Bamford wrote:
>
> Can you post some output? A handler will only be called if the task was 
> considered changed.
>
> On 8 January 2015 at 05:56, hce h <[email protected] <javascript:>> 
> wrote:
>
>> 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
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/a1177d22-7953-44ab-b120-2da40eb36bbb%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/a1177d22-7953-44ab-b120-2da40eb36bbb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fe6bc43c-9ba7-4e1b-b925-a6cb29407ff6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to