rpi_pitft

Ansible role: rpi_pitft

MIT licensed Galaxy Role

Ansible role which installs and configures the drivers for one of Adafruit tft Displays:

  • PiTFT 2.4", 2.8" or 3.2" resistive (240x320)
  • PiTFT 2.2" no touch (240x320)
  • PiTFT 2.8" capacitive touch (240x320)
  • PiTFT 3.5" resistive touch (320x480)

The one I use is Adafruit 28" tft Capacitive display

Requirements

NOTE: Role requires Fact Gathering by ansible!

One of the following distros (or derivatives) required:

  • Debian | Raspbian | Minibian
    • jessie
    • stretch
    • buster

Role Variables

Variable Description Default
rpi_pitft_pi_passwd SHA512 salted hash for for pi user's password to be set up see defaults/main.yml
rpi_pitft_display_model PiTFT display model (2.4", 2.2", 2.8", 3.5"); see defaults/main.yml 3
rpi_pitft_display_rotation Display rotation 90,180,270,0 degrees; see defaults/main.yml 3
rpi_pitft_console Would you like the console to appear on the PiTFT display? Y/n Y

Dependencies

None.

Example Playbook

- hosts: raspberrypi
  gather_facts: yes
  roles:
  - role: drew1kun.rpi_pitft
    rpi_pitft_display_rotation: 1
    rpi_pitft_pi_passwd: "{{ vault_rpi_pitft_pi_passwd }}"

License

MIT

Author Information

Andrew Shagayev | e-mail

About

Ansible role for automated TFT Display driver installation on Raspberry Pi 3.

Install
ansible-galaxy install drew1kun/ansible-role-rpi_pitft
GitHub repository
License
mit
Downloads
18
Owner