From 0568adc272bf901a7de1f1ab500773cf22b7297d Mon Sep 17 00:00:00 2001 From: redbloodmage Date: Mon, 19 Dec 2016 06:42:31 -0700 Subject: [PATCH] Added some clarity on the token confusion. (#19473) --- lib/ansible/modules/notification/slack.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/notification/slack.py b/lib/ansible/modules/notification/slack.py index 2b06994291..61f06b736b 100644 --- a/lib/ansible/modules/notification/slack.py +++ b/lib/ansible/modules/notification/slack.py @@ -48,7 +48,13 @@ options: are in the new format then slack will ignore any value of domain. If the token is in the old format the domain is required. Ansible has no control of when slack will get rid of the old API. When slack does - that the old format will stop working. + that the old format will stop working. ** Please keep in mind the tokens + are not the API tokens but are the webhook tokens. In slack these are + found in the webhook URL which are obtained under the apps and integrations. + The incoming webhooks can be added in that area. In some cases this may + be locked by your Slack admin and you must request access. It is there + that the incoming webhooks can be added. The key is on the end of the + URL given to you in that section. required: true msg: description: