wild_wire
wild_wire

Reputation: 61

Ansible : get playbook result

I am using Ansible to deploy a PHP website into my servers (production, staging, etc), and I would like to get a notification (via skype). For it I need learn ansible to send post request (with some params) when any ansible task starts or finishes (with result : success/failed or with error description)

Help me please with realization of all this stuff since I have any ideas about it. =(

Upvotes: 0

Views: 385

Answers (1)

Konstantin Suvorov
Konstantin Suvorov

Reputation: 68339

You have to write your own callback plugin.

Take a look at slack notification plugin.

Upvotes: 0

Related Questions