Originally published at: https://www.cyberciti.biz/faq/ansible-zypper-update-all-packages-on-opensuse-suse/
I got a cluster of servers powered by OpenSUSE / SUSE Enterprise Linux. How can I update all of them using the zypper module of Ansible? How can I use Ansible for system updates and reboot the server when kernel upgrades took place on SUSE/OpenSUSE?