Skip to content
Snippets Groups Projects

Add simple playbook task for upgrading servers

Merged Evangelos Foutras requested to merge upgrade-servers-task into master
All threads resolved!
+ 3
2
@@ -136,8 +136,9 @@ playbook can be used:
ansible-playbook playbooks/tasks/upgrade-servers.yml [-l SUBSET]
It runs `pacman -Syu` on the targeted hosts in batches and then reboots them.
If any server fails to reboot successfully, the rolling upgrade stops and
further batches are cancelled.
If any server fails to reboot successfully, the rolling update stops and
further batches are cancelled. To display a list of packages updated on each
host, you can pass the `--diff` option to ansible-playbook.
Using this update method, `.pacnew` files are left unmerged which is OK for
most configuration files that are managed by Ansible. However, care must be
Loading