Ansible play task if error in my running playbook

Hello !! :slight_smile:

I want execut task in ansible if my playbook filed and stop …

exemple :

If when my playbook running, and one moment stop because there is error …
I want execut one task … ?

If possible or not please ??? i have not find in documentation Ansible please

Thanks you very much community Ansible !!! :slight_smile:

Best Regards ^-^

Karther

Upppp please !!!

Someone can help me please Community Ansible !! :slight_smile:

Regards,

Karther

See "Blocks error handling"
https://docs.ansible.com/ansible/latest/user_guide/playbooks_blocks.html#blocks-error-handling

HTH,

  -vlado