Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

DEPRECATED: Merged into core tiny-pilot/tinypilot repo

License

Notifications You must be signed in to change notification settings

tiny-pilot/ansible-role-tinypilot

Repository files navigation

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.

About

DEPRECATED: Merged into core tiny-pilot/tinypilot repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published