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)
2014-08-30 20:05:44 +02:00
Features
--------
The basics of Ansible Tower, but in addition:
- Fast, Simple interface that doesn’ t 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:
-----------
2015-01-30 16:41:49 +01:00
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)
2014-08-30 20:05:44 +02:00
- 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/.
2015-03-24 19:11:56 +01:00
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`
2015-03-09 13:26:07 +01:00
3. `node bin/semaphore`
2014-08-25 22:19:05 +02:00
Initial Login
-------------
```
2014-08-30 20:05:44 +02:00
Email: 'admin@semaphore.local'
Password: 'CastawayLabs'
2014-08-25 22:19:05 +02:00
```
2015-03-24 19:11:56 +01:00
Environment Variables
---------------------
Use these variables to override the config.
| Variable Name | Description | Default Value |
2015-03-24 19:17:18 +01:00
| ------------- | ---------------------- | ------------------------------- |
2015-03-24 19:11:56 +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.
2014-08-30 20:05:44 +02:00
It would be amazing if this could be your `Community Edition` of Ansible Tower.