Install the wiringPi library

This library is very hard to get ...
This commit is contained in:
Stefan Haun 2022-07-23 18:02:05 +02:00
parent f105584fba
commit ea2dde451a

View file

@ -81,6 +81,18 @@
- unstuck.sh
- sesame-open.sh
- name: Download wiringPi library
# WiringPi needs to be installed, but that library seems to be
# obsolete, so not automating.
# Follow the instructions on http://wiringpi.com/download-and-install/
# obsolete. We download something and hope it works...
ansible.builtin.get_url:
url: https://project-downloads.drogon.net/wiringpi-latest.deb
dest: "/home/{{ gatekeeper_user }}/wiringpi-latest.deb"
mode: "0644"
force: no
register: wiringPi_download
- name: Install wiringPi library
ansible.builtin.apt:
state: present
deb: "/home/{{ gatekeeper_user }}/wiringpi-latest.deb"
when: wiringPi_download.changed