I am a newbie in Ansible world. I have already created some playbook and I am getting more and more familiar with this technology by the day.
In my playbooks I have always used the command yum
to install and manage new packages, but recently I found out about an another command package
that claims to be OS independent.
Thus my question: What is the difference between them?
In particular, if I create a role and a playbook that I know that will be executed in RHEL environment (where yum is the default package manager), which advantage do I get from using the command package
rather than yum
?
Thanks in advance for your help.