Generating a token

Before we can use the Slack module in our Playbook, we need an access token to request one login to your Slack workspace; you can sign up for a workspace for free at https://slack.com/ if you don't already have one.

Once you are logged into your workspace, either using the web client or desktop application, select the Manage apps option from the Administration menu, as seen in the following screenshot:

This will open your browser and take you to the App Directory for your workspace; from here, search for Incoming WebHooks and then click on Add Configuration.

The first part of the configuration is to choose which channel ...

Get Learn Ansible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.