smcracraft
smcracraft

Reputation: 493

can rundeck accept input from slack to run a specific job with a parameter provided by the slack user?

I am trying to find a way to make rundeck interactive with a slack channel such that someone could send a note to the channel and it would go to Rundeck and run a job with a parameter supplied by the user.

I have a plugin already which goes in the reverse direction giving status from the rundesk jobs to the slack channel, but I'd also like the reverse.

Does anyone know of a feature/integration like the above?

Upvotes: 0

Views: 1013

Answers (1)

MegaDrive68k
MegaDrive68k

Reputation: 4335

A good way to do that is to create a Rundeck webhook and call it from Slack creating a slash command. Take a look at how Rundeck Webooks works and how to enable interactivity with Slack.

Also, you have a legacy way to call custom curl commands (to call Rundeck API, here some examples).

Upvotes: 1

Related Questions