debops-wordpress icon indicating copy to clipboard operation
debops-wordpress copied to clipboard

Create a cookbook for system updates

Open carlalexander opened this issue 10 years ago • 2 comments

Doing system updates isn't mandatory per say. We already handle automatic security updates by default. That said, it might be nice to do a small cookbook for anyone who wants to do system updates.

In practice, it's just running apt-get upgrade and then rebooting the server. But maybe we could have a few small precautions, explain that you can power off the machine and take a snapshot with Digital Ocean for example.

carlalexander avatar Apr 03 '16 21:04 carlalexander

You could use debops.unattended_upgrades role (included by default in DebOps common playbook) to apply all pending package upgrades and reboot the server if needed automatically. It should be safe to do on a Debian Stable system, not sure about other distributions or releases though.

drybjed avatar Apr 04 '16 07:04 drybjed

I'm a bit hesitant to do that by default. That said, it could be part of the guide as well! :smiley:

carlalexander avatar Apr 04 '16 10:04 carlalexander