Idea of this project was to simplify raspberry Pi OS reinstallation. From time to time some team members switch it off just by turn off power and in some cases this causes OS crashes and corruptions.
And each time to configure it again was a real pain.
As a result we wrote simple ansible script that:
- installs chrome
- disables option that switch off a screen when mouse is in inactive state
- creates cron job that switches off raspberry at 7PM
- By default Raspberry does not have any
Default Gateway
configuration. Run this commandsudo route add default gw <gateway ip address>
to set it up.
sudo route add default gw 172.30.0.20
- Also I suggest to configure ethernet in the following way:
- Chec this article to get more info about cec-client configuration
- Another article with good explanation how to use cec-client
ansible-playbook -i "hosts" -c local -t <TAGS> main.yaml
ansible-playbook -i "localhost," -c local -t <TAGS> main.yaml