Hi guys. First time writing here, but I already learned a lot reading from this subreddit ;)
At work, I have near 50 Ubuntu desktop clients. It's great to manage the machines as the user doesn't know nothing about if I'm updating, installing, removing, changing some config...
The problem I have is related to updates. I have to log in into each machine (via SSH or remote VNC session), do the apt update-upgrade (or use update-manager) and then log out to repeat this process in another machine.
I was wondering how to automate this task with no added $ cost. I'm just trying Ansible to do that, but in my tests I've found some problems: all related to system messages not being handled.
For example, I tried to update a machine which was running a VirtualBox VM. Apt tried to update VirtualBox from the repo but thrown a message saying to close the VM, and then press Ok to let the update process continue. In this case, I had to cancel the whole Ansible task, log into the client and fix the problem (cancelling and update at 50% it's not a good idea).
So, I just wanted to know if some of you are rolling automatically OS updates and how. By the way, as I said, i'm just new to Ansible, but it seemed not a perfect tool for what I pretend to do. Probably using Bash scripts it's a better idea. On the other hand, I think Ubuntu Landscape will be a better choice, but I'm trying to consider first how to do this free.
Thanks in advance ;)
[link] [comments]