ansible playbok to maintain remote servers

robert rottermann robert at redcor.ch
Mon Jan 9 07:36:59 UTC 2023


Hi there

I am maintaining some 20 servers on diverse provider environments (hetzner, amazon).

Now I intend to create an ansible playbook to help me to maintain them.


what it should do for most of them:

- apt update

- apt upgrade

- apt autoremove

- reboot if necessary


for some of them (all on hetzner):

- take a snapshot before the above steps


Now my questions:

- is that a god idea, or a risky one?

- has anyone done something similar and is willing to share a playbook?


thanks

Robert






More information about the ubuntu-users mailing list