This was actually just recently resolved in devel:
https://github.com/ansible/ansible/pull/43542

Backport PRs for 2.5 and 2.6 are open and waiting to be merged for the next
releases.

On Tue, Aug 7, 2018 at 10:12 AM Tony Chia <[email protected]> wrote:

> The error message says HTTP Error 403: Forbidden
>
> Are you able to use the same credential, webhook_url, etc using curl or
> any other tool outside of ansible?
>
> I suspect your haven't configured your slack channel properly
>
> On Thursday, July 26, 2018 at 2:56:44 AM UTC-7, Vinod Kumar wrote:
>>
>> Hi All,
>>
>> Any update on this. I am still having issue regarding the callback slack
>> plugin. Please help.
>>
>> Regards,
>> Vinod.
>>
>> On Wednesday, July 25, 2018 at 2:25:40 PM UTC+1, Vinod Kumar wrote:
>>>
>>> Hi Brain,
>>>
>>> I have verified the slack callback and ansible  versions, both are
>>> compatible and same code in the GIT repository as well. But still having
>>> the same issue.
>>>
>>> *Error message*
>>>
>>> [WARNING]: Failure using method (v2_playbook_on_start) in callback
>>> plugin (<ansible.plugins.callback./usr/lib/python2.7/site-
>>> packages/ansible/plugins/callback/slack.CallbackModule object at
>>> 0x7f6a492eb050>): 'tags'
>>>
>>> Callback Exception:
>>>   File
>>> "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py",
>>> line 374, in send_callback
>>>     method(*new_args, **kwargs)
>>>    File
>>> "/usr/lib/python2.7/site-packages/ansible/plugins/callback/slack.py", line
>>> 136, in v2_playbook_on_start
>>>     tags = self.get_option('tags')
>>>    File
>>> "/usr/lib/python2.7/site-packages/ansible/plugins/callback/__init__.py",
>>> line 90, in get_option
>>>     return self._plugin_options[k]
>>>
>>>  [WARNING]: Could not submit message to Slack: HTTP Error 403: Forbidden
>>>
>>> On Tuesday, July 24, 2018 at 4:07:19 PM UTC+1, Brian Coca wrote:
>>>>
>>>> > Can you please help in the compatible versions which i should use to
>>>> make this work.
>>>>
>>>> the slack plugin ships with Ansible, just use the one for the version
>>>> of ansible you are executing
>>>>
>>>> --
>>>> ----------
>>>> Brian Coca
>>>>
>>> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/7053751e-c854-481c-a1c1-df95f7d45978%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/7053751e-c854-481c-a1c1-df95f7d45978%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v-V%2BHmKHODiekCDL8nnWwyX5n08fnhUJycg2XVbE%2B_j1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to