Weekly Journal 133 - Ansible, openSuse

Ansible and openSuse

A short note this week. I’ve been working with the openSuse Linux distributions recently, namely Tumbleweed and MicroOS. I wanted to check out support for Suse’s zypper package management tool in Ansible, and I was pleasantly surprised to see it’s natively supported by the ansible.builtin.package module. Even better, the current version of that module takes care of figuring out which distribution it’s running on and automatically chooses the correct package management tool. That’s a very nice change from having detect the distribution within your Ansible code and then building separate tasks for each distribution you wanted to support. I was expecting to have to download a third-party module and wire all that up myself.