ansible-role-greenpithumb

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
  • 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.

Install
ansible-galaxy install mtlynch/ansible-role-greenpithumb
GitHub repository
License
apache-2.0
Downloads
29