Make the new lightrix work with ansible
parent
5c1356a1de
commit
e3cd669a70
@ -0,0 +1,5 @@
|
||||
click==6.3
|
||||
matrix-client==0.0.2
|
||||
pytz==2015.7
|
||||
PyYAML==3.11
|
||||
requests==2.7.0
|
@ -0,0 +1,23 @@
|
||||
---
|
||||
- name: dependencies are installed
|
||||
apt:
|
||||
state: installed
|
||||
name: "{{item}}"
|
||||
with_items:
|
||||
- swig
|
||||
- python-dev
|
||||
- scons
|
||||
|
||||
- name: rpi_ws281x is cloned
|
||||
git:
|
||||
dest: /root/rpi_ws281x/
|
||||
repo: https://github.com/jgarff/rpi_ws281x.git
|
||||
update: no
|
||||
|
||||
- name: rpi_ws281x is built
|
||||
shell: >-
|
||||
cd /root/rpi_ws281x/ && scons
|
||||
|
||||
- name: the neopixel python library is built
|
||||
shell: >-
|
||||
cd /root/rpi_ws281x/python/ && python setup.py install
|
Loading…
Reference in New Issue