Hi,

I am trying to write a callback plugin. It is working quite well when all 
tasks succeed. However when a playbook has a failed task I get:


*v2_runner_on_failed() got an unexpected keyword argument*
*'ignore_errors'*

Code:

def v2_runner_on_failed(self, result):
  pass

I see a lot of plugins that have an extra argument , ignore_errors=False. 
But I can't figure out what this setting does. I think I need to have:

def v2_runner_on_failed(self, taskResult, ignore_errors=True):

I just want my playbook to continue and not stop because of the callback 
plugin.


Can anyone point me into the right direction

kind regards,

Stefan

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/87aae087-700a-4fa9-8cfa-ce7b25c02886n%40googlegroups.com.

Reply via email to