Closed geerlingguy closed 5 years ago
See: https://github.com/geerlingguy/raspberry-pi-dramble/blob/master/testing/presentation/SCRIPT.md
ansible -i inventory all -m service -a "name=dramble-node-monitor state=stopped" -b
ansible -i inventory all -a "blinkstick blue" -b
ansible -i inventory all -a "blinkstick green" -b
ansible -i inventory all -a "blinkstick blue" -b --forks 1
ansible -i inventory all -a "blinkstick red" -b --forks 1
ansible -i inventory all -m service -a "name=dramble-node-monitor state=started" -b
Thanks very useful.
From #112, I've broken out this issue:
Basically, I want to be able to do some slick things in a demo like:
dramble-node-monitor
service so the LEDs go off and the Pis are not monitoring node status anymore.It would also be sorta cool if I built a sidecar pod to the Drupal pod that would flash the blinkstick any time a request was made to that container (e.g. watch the Apache log?)... but that would probably be something to break out into a separate feature.
I would also like to document the setup and use of blinksticks (vs soldered LED boards) in the Dramble Wiki.