Semaphore/README.md

67 lines
2.1 KiB
Markdown
Raw Normal View History

2014-08-24 00:43:31 +02:00
semaphore
=========
Open Source Alternative to Ansible Tower
2014-08-25 22:19:05 +02:00
![](public/img/screenshot.png)
Features
--------
The basics of Ansible Tower, but in addition:
- Fast, Simple interface that doesnt get in the way
- Task output is streamed live via websocket
- Free. MIT Licensed. Do what you want.
2014-08-25 22:19:05 +02:00
How to run:
-----------
1. Install Vagrant
2. Run `vagrant up`
3. Open [localhost:3000](http://localhost:3000)
Development steps:
2014-08-25 22:19:05 +02:00
Install requirements:
- node.js >= 0.11.x
- an isolated environment (e.g. Docker / NodeGear)
- ansible (the tool)
- mongodb & redis
2014-08-25 22:19:05 +02:00
- Sudo access (this might change). To run jobs, this tool writes private keys to /root/.ssh and copies playbook directories to /root/.
1. Copy `lib/credentials.default.json` to `lib/credentials.json` and customise, or export relevant environment variables
2014-08-25 22:19:05 +02:00
2. `bower install`
3. `node bin/semaphore`
2014-08-25 22:19:05 +02:00
Initial Login
-------------
```
Email: 'admin@semaphore.local'
Password: 'CastawayLabs'
2014-08-25 22:19:05 +02:00
```
Environment Variables
---------------------
Use these variables to override the config.
| Variable Name | Description | Default Value |
2015-03-24 19:17:18 +01:00
| ------------- | ---------------------- | ------------------------------- |
| PORT | Web Port | `80` |
| REDIS_PORT | Redis Port | `6379` |
| REDIS_HOST | Redis Hostname | `127.0.0.1` |
| REDIS_KEY | Redis auth key | |
| BUGSNAG_KEY | Bugsnag API key | |
| SMTP_USER | Mandrill smtp username | |
| SMTP_PASS | Mandrill smtp password | |
| MONGODB_URL | Mongodb URL | `mongodb://127.0.0.1/semaphore` |
2014-08-25 22:19:05 +02:00
Note to Ansible guys
--------------------
> Thanks very much for making Ansible, and Ansible Tower. It is a great tool!. Your UI is pretty horrible though, and so we'd be happy if you could learn and use parts of this tool in your Tower.
It would be amazing if this could be your `Community Edition` of Ansible Tower.