Slack Bot which deploys server by ansible command, and output logs to aws s3.
Capture:
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
cat << EOF > $HOME/.slack-ansible.yaml
token: <your bot's token>
EOF
go get github.com/jedipunkz/slack-ansible
nohup /path/to/slack-ansible &
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
Run docker container on daemon mode.
docker run -d slack-ansible
Tomokazu HIRAI tomokazu.hirai@gmail.com
This project is licensed under the Apache License.