Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
files
handlers Fixing static dependency install (#48) Apr 23, 2017
hooks
meta
tasks
templates
tests
vars Adding db_file param to frontend service (#24) Mar 23, 2017
.gitignore
.travis.yml
LICENSE Initial commit Jun 5, 2016
README.md
build

README.md

Ansible Role: GreenPiThumb

Build Status Ansible Galaxy License

Ansible role for GreenPiThumb.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

greenpithumb_backend_user: greenpithumb
greenpithumb_backend_group: greenpithumb

The user and group under which to run the GreenPiThumb backend service.

greenpithumb_backend_path: "/opt/greenpithumb"

The path to which to install the GreenPiThumb backend files.

greenpithumb_frontend_user: greenpithumb-frontend
greenpithumb_frontend_group: greenpithumb-frontend

The user and group under which to run the GreenPiThumb frontend web server.

greenpithumb_frontend_path: "/opt/greenpithumb-frontend"

The path to which to install the GreenPiThumb frontend files.

greenpithumb_frontend_web_port: 80

The port the GreenPiThumb web app will listen to for external HTTP requests.

greenpithumb_diagnostics_enabled: True

Controls whether to install simple scripts for diagnosing GreenPiThumb's hardware.

greenpithumb_diagnostic_path: "/opt/greenpithumb-diagnostic"

Path to install GreenPiThumb's diagnostic scripts.

Dependencies

Example Playbook

example.yml

- hosts: all
  roles:
    - { role: JeetShetty.greenpithumb }

Running Example Playbook

ansible-galaxy install JeetShetty.greenpithumb
ansible-playbook example.yml

Related Repositories

  • GreenPiThumb: The GreenPiThumb backend, which manages all the physical hardware and sensors for the GreenPiThumb device.
  • GreenPiThumb_Frontend: Web API to provide status about GreenPiThumb.
  • GreenPiThumb_Frontend_static: An AngularJS web app for viewing GreenPiThumb status (the static portion of the web frontend).

License

Apache2

Author Information

This role was created in 2017 by Jeet Shetty and Michael Lynch.