ALPHA This role installs Shopify's' Dashing. It uses NodeJS and installs the ruby environment.
If no dashboard is installed under the dashing_path
/dashing_name
, this role will create a new one. If you have an existing dashboard, transfer the files under this path dashing_path
/dashing_name
.
The role is installing an init script located in /etc/init.d/dashing
for handling the daemon.
For testing and development purposes a Vagrantfile
is available, it uses the same role.yml
as in Travis CI. So testing this role is just a vagrant up
away. Then point your browser to http://localhost:8080.
Currently only tested and know as working on Ubuntu 12.04. It should work on Debian Wheezy as well, if wheezy-backports
sources list is available (for installing NodeJS). RHEL 6 support should be available in the near feature.
-
dashing_pkg_state
:- Description: Whether the packages should be just be installed or updated to latest.
- Values:
installed | latest
- Default:
installed
-
dashing_gem_state
:- Description: Whether the gem packages should be just be installed or updated to latest.
- Values:
present | latest
- Default:
present
-
dashing_service_enable
:- Description: Whether the dashing service should be started on boot or not.
- Values:
yes | no
- Default:
yes
-
dashing_path
:- Description: Root path for installing dashboard underneath.
- Default:
/var/www
-
dashing_name
:- Description: The name of the dashboard directory. Used below
dashing_path
. - Default:
dashboard
- Description: The name of the dashboard directory. Used below
-
dashing_address
:- Description: Bind to host address
- Default:
0.0.0.0
-
dashing_port
:- Description: On which port dashing should listen on.
- Default:
8080
None.
- hosts: dashboard
roles:
- { role: resmo.dashing }
- hosts: dashboard
roles:
- { role: resmo.dashing, dashing_port: 80, dashing_path: /srv }
BSD
René Moser [email protected]