# allowing actions to fail?

**URL:** <https://forum.ansible.com/t/allowing-actions-to-fail/11762>\
**Category:** Ansible Project\
**Created:** [August 5, 2012, 8:32pm UTC](https://forum.ansible.com/t/allowing-actions-to-fail/11762 "2012-08-05T20:32:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James8](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@James8](https://forum.ansible.com/u/James8)\
**Post date:** [August 5, 2012, 8:32pm UTC](https://forum.ansible.com/t/allowing-actions-to-fail/11762/1 "2012-08-05T20:32:55Z")

</div>

Hi,  
I want to allow some actions like this one to fail:  
&nbsp;&nbsp;- name: no avahi-dnsconfd  
&nbsp;&nbsp;&nbsp;&nbsp;action: chkconfig avahi-dnsconfd off

I'm sure I read this in the documentation on Friday but now I can't  
find the syntax. Can someone send me the page or the option?

Thanks,  
James

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [August 5, 2012, 8:46pm UTC](https://forum.ansible.com/t/allowing-actions-to-fail/11762/2 "2012-08-05T20:46:11Z")

</div>

Use the service module with enabled=no, there is no need to use the ignore errors option.

See the Advanced Playbooks page in docs to see how that works though.

-- Michael
