Skip to content
Snippets Groups Projects
Verified Commit ad14ad7d authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Add simple playbook task for upgrading servers

We want to treat our servers as cattle; hopefully when this is fleshed
out a bit more, it can accomplish the job without too many casualties.
parent 9227825b
No related branches found
No related tags found
1 merge request!475Add simple playbook task for upgrading servers
---
- name: upgrade and reboot all servers
hosts: all,!rsync_net,!hetzner_storageboxes
gather_facts: false
tasks:
- name: upgrade all packages
pacman:
update_cache: yes
upgrade: yes
- name: reboot
reboot:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment