Ansible role for GreenPiThumb.
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.
- hosts: all
roles:
- { role: JeetShetty.greenpithumb }
ansible-galaxy install JeetShetty.greenpithumb
ansible-playbook example.yml
- 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).
Apache2
This role was created in 2017 by Jeet Shetty and Michael Lynch.