Public | Automated Build

Last pushed: 2 years ago
Short Description
Ansible deployment via Slack. I'm Mr. Meeseeks! Look at me!
Full Description

Mr. Meeseeks

<img align="right" width="25%" src="https://cloud.githubusercontent.com/assets/1725839/18070833/ed3ba76a-6e50-11e6-8227-28413f619627.jpg">

"I'm Mr. Meeseeks! Look at me!"

What?

Mr. Meeseeks is a deploy bot for Slack and Ansible.
When you direct-mention your bot like this: @mm deploy app beta,
it runs Ansible with the tag deploy_app_beta
and tells you if it worked or not and how long it took.

Install

  1. Make sure you have node and npm installed
  2. Clone this repository git clone https://github.com/bahlo/mr-meeseeks.git
  3. Install dependencies npm install
  4. Run bot npm start

Environment

You'll need the following environment variables:

  • SLACK_TOKEN: The token from your Slack bot creation page
  • SLACK_CHANNEL: The channel name (without the #)
  • PLAYBOOK: The playbook file to be used in ansible-playbook
  • PLAYBOOK_REPO: The repository which contains the playbooks
  • PLAYBOOK_USER: The user to use for the playbook (-u)
  • VAULT_PASS_FILE: The file which contains the password to decrypt the vault
  • PORT: The port for the static log server
  • LOG_URL: The public URL of the log server (without trailing /)

License

This project is licensed under MIT, for more information see the LICENSE file.

Docker Pull Command
Owner
bahlo
Source Repository