Re: Ansible tower webhook notification

25 views
Skip to first unread message
Message has been deleted

Bill Crupi

unread,
Jun 29, 2020, 2:32:43 PM6/29/20
to Ansible Project


On Thursday, June 25, 2020 at 1:58:18 PM UTC-4, Jam Volkov wrote:
Hi All,

I'm testing a webhook notification from Ansible tower, it works good
Received data example:

{"id": 14, "name": "job_test", "url": "https://ansibletower/#/jobs/playbook/14", "created_by": "admin", "started": "2020-06-25T09:14:13.804517+00:00", "finished": null, "status": "running", "traceback": "", "inventory": "inv", "project": "test", "playbook": "hello_world.yml", "credential": null, "limit": "", "extra_vars": "{}", "hosts": {}}

Question: Can I put information from playbook (ex. hello_world.yml) into json body of the notification(example above)? (I tried to customize the json body but it doesn't work)

Do you know how to go from netbox webhooks to ansibe tower?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages