JeetShetty.ansible-role-greenpithumb
Ansible Role: GreenPiThumb
This is an Ansible role for GreenPiThumb.
Role Variables
Here are the variables you can use, with their default values (see defaults/main.yml):
greenpithumb_backend_user: greenpithumb
greenpithumb_backend_group: greenpithumb
These are the user and group for the GreenPiThumb backend service.
greenpithumb_backend_path: "/opt/greenpithumb"
This sets the path where GreenPiThumb backend files will be installed.
greenpithumb_frontend_user: greenpithumb-frontend
greenpithumb_frontend_group: greenpithumb-frontend
These are the user and group for the GreenPiThumb frontend web server.
greenpithumb_frontend_path: "/opt/greenpithumb-frontend"
This sets the path for installing GreenPiThumb frontend files.
greenpithumb_frontend_web_port: 80
This is the port the GreenPiThumb web application will listen to for incoming HTTP requests.
greenpithumb_diagnostics_enabled: True
This controls whether to install simple diagnostic scripts for GreenPiThumb's hardware.
greenpithumb_diagnostic_path: "/opt/greenpithumb-diagnostic"
This is the path for installing 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 backend for GreenPiThumb, which manages the hardware and sensors.
- GreenPiThumb_Frontend: Web API providing status updates about GreenPiThumb.
- GreenPiThumb_Frontend_static: A static AngularJS web app to view the status of GreenPiThumb.
License
Apache2
Author Information
This role was created in 2017 by Jeet Shetty and Michael Lynch.
Installa
ansible-galaxy install JeetShetty.ansible-role-greenpithumb
Licenza
apache-2.0
Download
96
Proprietario