Skip to content

🌴 slack bot 🌴 which deploys server by ansible

Notifications You must be signed in to change notification settings

jedipunkz/slack-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack-Ansible

Build Status

Slack Bot which deploys server by ansible command, and output logs to aws s3.

Capture:

Getting Started

Prerequisites

What things you need to install this software and how to install them.

  • Linux OS or Apple macOS
  • Golang 1.13.x or later
  • ansible
  • aws credentials (now, this software applied to use localstack

Setup $HOME/.slack-ansible.yaml file

cat << EOF > $HOME/.slack-ansible.yaml
token: <your bot's token>
EOF

Installation

go get github.com/jedipunkz/slack-ansible

boot

nohup /path/to/slack-ansible &

Docker

docker build

Copy .slack-ansible.yaml file from $HOME dir to current dir, and build docker container image.

cp $HOME/.slack-ansible.yaml .
docker build . -t slack-ansible

docker run

Run docker container on daemon mode.

docker run -d slack-ansible

Author

Tomokazu HIRAI tomokazu.hirai@gmail.com

License

This project is licensed under the Apache License.

About

🌴 slack bot 🌴 which deploys server by ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages