hubot_all_in_one
Hubot
This role installs a self sufficient Hubot instance including Redis using Docker Containers.
Requirements
None.
Role Variables
There are three variables that drive this role: _hubot
, RW_APT_CACHE_UPDATE
, and RW_ENABLE_DOWNLOADS
. _hubot
is a map that contains all configuration and settings for this role. RW_APT_CACHE_UPDATE
RW_ENABLE_DOWNLOADS
may be specified as extra variables on invocation of Ansible in order to force apt-get update
or download assets from the Internet, respectively. Please see defaults/main.yml
for details.
Dependencies
This role requires docker_ubuntu
.
Example Playbook
The general contract of this role is to take the variables map _hubot
from defaults/main.yml
as a template for your configuration and pass that configuration as a parameter to this role.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
var:
DOCKER:
...
HUBOT:
...
roles:
- { role: hubot, tags: [ 'hubot' ], _docker_install: "{{ DOCKER }}", _hubot: "{{ HUBOT }}" }
License
Please see LICENSE.
Author Information
Original author is Lukas Pustina as member of the Rheinwerk project.