https://github.com/cfultz/updateserversplaybook
Quick and easy Ansible Playbook to update remote VPS boxes
https://github.com/cfultz/updateserversplaybook
ansible ansible-playbook debian ubuntu-server
Last synced: 3 months ago
JSON representation
Quick and easy Ansible Playbook to update remote VPS boxes
- Host: GitHub
- URL: https://github.com/cfultz/updateserversplaybook
- Owner: cfultz
- License: cc0-1.0
- Created: 2024-05-28T12:52:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-12T18:21:33.000Z (almost 2 years ago)
- Last Synced: 2026-03-03T22:38:58.020Z (4 months ago)
- Topics: ansible, ansible-playbook, debian, ubuntu-server
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# UpdateServersPlaybook
This is a quick Ansible Playbook that I wrote to update my Debian/Ubuntu based VPS boxes out on the internet. I was tired of having to login and update things or make sure they rebooted even though I have them set to "auto update". Sometimes that wasn't working... I blame the administrator (me)...
# What does this do?
It logs into your servers after asking for the ``sudo`` password for the user, updates that ``apt cache`` then runs the update and upgrade functions. After that completes, it checks for the file that screams if a reboot is necessary. If found, it processes a clean reboot proceedure.
# TODO
Add support for RPM based systems as soon as I have some that I'm using for daily driving.
# Licence
Licenced under [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/). Do what you want with the code but remember to respect the Ansible, Linux, and distro specific licenses as well.