Packaging modules — Ansible Documentation
docs.ansible.com › ansible › 2Apr 30, 2021 · sorcery – Package manager for Source Mage GNU/Linux. svr4pkg – Manage Solaris SVR4 packages. swdepot – Manage packages with swdepot package manager (HP-UX) swupd – Manages updates and bundles in ClearLinux systems. urpmi – Urpmi manager. xbps – Manage packages with XBPS. yum – Manages packages with the yum package manager
ansible package vs yum module - Stack Overflow
https://stackoverflow.com/questions/4888197519.02.2018 · Ansible package module autodetect your OS default package manager (e.g yum, apt) from existing facts.. The fact environment variable which stores is "ansible_pkg_mgr".. Here is a command for same. ansible localhost -m setup | grep ansible_pkg_mgr.. If you are using multiple OS in your environment, then instead of specifying package manager you should use …