All Projects → StackStorm → Showcase Ansible Chatops

StackStorm / Showcase Ansible Chatops

Licence: apache-2.0
Vagrant Demo showing ChatOps with Ansible

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Showcase Ansible Chatops

Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+198.59%)
Mutual labels:  hubot, slack, chatops
st2chatops
Packaging environment for building StackStorm chatops native packages
Stars: ✭ 26 (-63.38%)
Mutual labels:  slack, hubot, chatops
hubot-code-review
A Hubot script for GitHub code review on Slack.
Stars: ✭ 38 (-46.48%)
Mutual labels:  slack, hubot, chatops
Molecule Vagrant
Molecule Vangrant Driver
Stars: ✭ 69 (-2.82%)
Mutual labels:  ansible, vagrant
Ansible For Devops
Ansible for DevOps examples.
Stars: ✭ 5,265 (+7315.49%)
Mutual labels:  ansible, vagrant
Packer Boxes
Jeff Geerling's Packer build configurations for Vagrant boxes.
Stars: ✭ 495 (+597.18%)
Mutual labels:  ansible, vagrant
Kube Ansible
Build a Kubernetes cluster via Ansible playbook. 🔧 🔧 🔧
Stars: ✭ 354 (+398.59%)
Mutual labels:  ansible, vagrant
Hubcommander
A Slack bot for GitHub organization management -- and other things too
Stars: ✭ 1,149 (+1518.31%)
Mutual labels:  slack, chatops
Slacker
Slack Bot Framework
Stars: ✭ 495 (+597.18%)
Mutual labels:  slack, chatops
Fucking Java Concurrency
🎏 Simple show cases of java concurrency problems, seeing 🙈 is believing 🐵
Stars: ✭ 779 (+997.18%)
Mutual labels:  demo, showcase
Ansible Phoenix
[Unmaintained] Develop and deploy a Phoenix app using Ansible!
Stars: ✭ 37 (-47.89%)
Mutual labels:  ansible, vagrant
Tads Boilerplate
Terraform + Ansible + Docker Swarm boilerplate = DevOps on 🔥🔥🔥 | Infrastructure as Code
Stars: ✭ 424 (+497.18%)
Mutual labels:  ansible, vagrant
Raspchat
A chat server that can run on Raspberry Pi
Stars: ✭ 418 (+488.73%)
Mutual labels:  demo, slack
Rubel
Rubel is a cms built with Laravel and React.
Stars: ✭ 70 (-1.41%)
Mutual labels:  ansible, vagrant
Flutter Examples
Personal collection of Flutter apps.
Stars: ✭ 394 (+454.93%)
Mutual labels:  demo, showcase
Phansible
Phansible - generate Vagrant + Ansible dev environments for PHP
Stars: ✭ 633 (+791.55%)
Mutual labels:  ansible, vagrant
Hubot Slack Docker
Docker container running Github Hubot.
Stars: ✭ 21 (-70.42%)
Mutual labels:  hubot, slack
Vagrant Centos7 Ansible Lamp
Ansible example using Vagrant to deploy Centos7 server with Apache2.4.6, PHP7 (with xdebug), mariaDB5.5 and phpmyadmin to local VM.
Stars: ✭ 41 (-42.25%)
Mutual labels:  ansible, vagrant
Ansible Windows Docker Springboot
Example project showing how to provision, deploy, run & orchestrate Spring Boot apps with Docker Windows Containers on Docker Windows native using Packer, Powershell, Vagrant & Ansible
Stars: ✭ 58 (-18.31%)
Mutual labels:  ansible, vagrant
Cdk Constructs
A collection of higher-level aws cdk constructs: slack-approval-workflow, #slack & msteams notifications, chatops, blue-green-container-deployment, codecommit-backup, OWASP dependency-check, contentful-webhook, github-webhook, stripe-webhook, static-website, pull-request-check, pull-request-approval-rule, codepipeline-merge-action, codepipeline-check-parameter-action...
Stars: ✭ 282 (+297.18%)
Mutual labels:  slack, chatops

Ansible & ChatOps with Slack, Hubot and StackStorm - Vagrant demo

Part of tutorial: Ansible and ChatOps. Get started 🚀

Introduction

This is quick demonstration of the StackStorm event-driven automation platform running with Ansible configuration management tool and Hubot ChatOps engine. The objective is to operate servers with Ansible directly from Slack chat.

Ansible and ChatOps with Slack and Hubot

It will get you up and running with chatops control VM with all St2 components prepared as well as Ansible and Hubot configured. Additionally, it installs 2 Ubuntu VMs: web server with nginx and db server with mysql.

As a result you should get 100% ready environment allowing you to execute Ansible ad-hoc commands and run Ansible playbooks against VMs directly from your Slack chat. In this showcase we already crafted some simple, but useful real world ChatOps commands.

Getting started

1. Prepare Slack

  • Create slack.com account if you don't have it yet.
  • Navigate Configure Integrations -> Filter -> Hubot and generate Slack & Hubot API Token.

2. Vagrant up

Edit Vagrantfile and add the just generated API token under HUBOT_SLACK_TOKEN constant, or just export it:

export HUBOT_SLACK_TOKEN=xoxb-1234-5678-91011-00e4dd

To provision the environment run:

vagrant up

Installation takes some time (st2 engine comes with Python, RabbitMQ, PostgreSQL, MongoDB, OpenStack Mistral).

3. Try ChatOps

You should see your bot online in Slack and now you're ready to type some chat commands. Don't forget to invite your bot into the Slack channel: /invite @stanley. Your first ChatOps command is:

!help

Ansible ChatOps with StackStorm, Hubot and Slack. List of ChatOps commands Full list of available commands from st2_chatops_aliases pack:

Additionally check the results of performed commands in StackStorm control panel:
https://www.chatops/ username: demo password: demo

4. Don't stop!

Try it, explore the internals. For configuration see: ansible.sh, chatops.sh which are usual Vagrant shell provisioner scripts. Integrate your custom workflows and deployment mechanisms, you'll see how your work becomes more efficient during time.

Feel the power of control center and may the force will be with you!

Need Help? Want to talk?

Join our community Slack IRC

We're always ready to help, feel free to:

  • Ask questions on our public Slack or IRC
  • Report bug, provide feature request or just give us a ✮ star at GitHub st2
  • Tell us how you use st2, share your StackStorm story. We love stories!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].