Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocket.Chat Call back plugin for ansible #4346

Closed
Deepakkothandan opened this issue Sep 18, 2016 · 4 comments
Closed

Rocket.Chat Call back plugin for ansible #4346

Deepakkothandan opened this issue Sep 18, 2016 · 4 comments

Comments

@Deepakkothandan
Copy link
Contributor

Deepakkothandan commented Sep 18, 2016

Your Rocket.Chat version: (0.36.0)
Hi All,

We had to use the callback feature of Ansible and notify us on failed ansible runs through the incoming webhooks feature. So, I forked the slack callback plugin and modified it for use with rocket chat and the link to source is Ansible Callback plugin for RocketChat

The only issue I am facing now is that, the markup for pretty table is not being rendered by Rocket Chat. So if you could point me to a documentation or provide your inputs on, supported markups by Rocket.Chat, I could modify the script accordingly and post pretty 😄 messages.

@lucasvanhalst
Copy link
Contributor

lucasvanhalst commented Sep 18, 2016

Full markdown isn't supported yet, only the most common things like headers, quotes, code, links, bold, italics and strike through
Code for it can be found here, it shouldn't be too hard to implement tables.

https://github.com/RocketChat/Rocket.Chat/blob/HEAD/packages/rocketchat-markdown/markdown.coffee

@geekgonecrazy
Copy link
Contributor

Going to close this in favor of RocketChat/feature-requests#642 Also it looks like we have a PR open that will resolve this. :)

@Deepakkothandan i'm very interested in your ansible callback plugin though. Would love to see this used more. Have you published it any where? Feel free to send me a message on the community server @ aaron.ogle

@Deepakkothandan
Copy link
Contributor Author

@geekgonecrazy I have shared this as a public gist and here is the link Ansible Rocket.Chat Callback Plugin

@geekgonecrazy
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants