An Ansible Script To Keep Your Raspberry Pi's up to date

An Ansible Script To Keep Your Raspberry Pi's up to date

If you have a lot of Raspberry Pi’s running all kinds of things like I do, I am sure you have similar issues keeping them up to date. Don’t Judge but…. I have over 80 Raspberry Pi’s in my orbit. Some are running specialized operating systems for Ham Radio and use a locked file system so they cannot be updated.

About a dozen are at remote sites on top of mountains that I only get to every few months. Fortunately, most of these have internet access.

I have had problems keeping up with updates for all of these devices. To solve this I have written an Ansible script to do regular updates, check on the status of the devices, etc.

Here are some of the features that are in this Ansible Script:

  • OS Updates: Automated package updates, system upgrades, and cleanup

  • Software Management: Package installation, service management, and version control

  • Health Monitoring: System health checks, temperature monitoring, and disk space tracking

  • Comprehensive Reporting: Detailed reports with multiple output formats and notification channels

  • Error Handling: Robust error recovery and graceful failure handling

  • Flexible Configuration: Customizable maintenance profiles and host-specific settings

You can find this Ansible script on github here: https://github.com/netnutmike/ansible-PI-Maintenance

Let me know what other features you would like to see added.

Meshtastic on IOS (Apple) Devices - Ham Radio Unlimited - S2E10

Meshtastic on IOS (Apple) Devices - Ham Radio Unlimited - S2E10