Ansible Tower Slack Notifications

257 views
Skip to first unread message

Mark Matthews

unread,
Feb 10, 2016, 6:36:21 AM2/10/16
to Ansible Project

Hi

 

I trying to get Ansible callback notifications to work with Tower. They are working perfectly if I run a playbook from the Ansible server, but not working if I run a playbook from Tower.

 

I am trying to send notifications to Slack.

 

I have placed the following Slack callback file in the following location: /usr/share/ansible_plugins/callback_plugins

 

I then had to add a few environment variables...but after that notifications work from the Ansible server. Used this Slack call back plugin: https://github.com/sivel/ansible/blob/v2-slack-callback/lib/ansible/plugins/callback/slack.py

 

Any ideas what needs to be done to get the callback to work with Tower? Is there a specific place that the plugin needs to be located for Tower to read it?

 

 

Ansible: 2.0.0.1

Ansible Tower:  2.4.3

OS:  CentOS

 

 

Cheers

Mark

Bill Nottingham

unread,
Feb 10, 2016, 11:25:15 AM2/10/16
to ansible...@googlegroups.com
This list is for open source Ansible only - for Tower releated questions please contact sup...@ansible.com.

Thanks,
Bill


--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f5997306-6d64-4f9c-94bc-48fab269775f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Bill Nottingham
Product Management, Ansible / Red Hat
ansible.com / redhat.com
Reply all
Reply to author
Forward
0 new messages