Install the wiringPi library
This library is very hard to get ...
This commit is contained in:
parent
f105584fba
commit
ea2dde451a
1 changed files with 14 additions and 2 deletions
16
platon.yml
16
platon.yml
|
@ -81,6 +81,18 @@
|
||||||
- unstuck.sh
|
- unstuck.sh
|
||||||
- sesame-open.sh
|
- sesame-open.sh
|
||||||
|
|
||||||
|
- name: Download wiringPi library
|
||||||
# WiringPi needs to be installed, but that library seems to be
|
# WiringPi needs to be installed, but that library seems to be
|
||||||
# obsolete, so not automating.
|
# obsolete. We download something and hope it works...
|
||||||
# Follow the instructions on http://wiringpi.com/download-and-install/
|
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
|
||||||
|
|
Loading…
Reference in a new issue