• This repository has been archived on 05/Apr/2023
  • Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DEPRECATED: Merged into core tiny-pilot/tinypilot repo

Ansible Role: TinyPilot

CircleCI License

Ansible role for TinyPilot KVM.

Role Variables

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

tinypilot_interface: '127.0.0.1'
tinypilot_port: 8000
tinypilot_keyboard_interface: /dev/hidg0
# The client is responsible for specifying the path/URL to the TinyPilot Debian
# package
tinypilot_debian_package_path: null

Dependencies

Example Playbook

Building a TinyPilot Debian package

To install TinyPilot using the Ansible role, you need to provide the role with a path or URL to a TinyPilot Debian package.

To build a TinyPilot Debian package, run the following snippet:

cd $(mktemp -d) && \
  git clone https://github.com/tiny-pilot/tinypilot.git . && \
  ./dev-scripts/build-debian-pkg

This will produce a TinyPilot Debian package under ./debian-pkg/releases.

example.yml

- hosts: all
  roles:
    - role: ansible-role-tinypilot
      vars:
        tinypilot_debian_package_path: /path/to/tinypilot.deb

Running Example Playbook

ansible-galaxy install git+https://github.com/tiny-pilot/ansible-role-tinypilot.git
ansible-playbook example.yml

Documentation

License

MIT

Author Information

This role was created in 2020 by Michael Lynch.