Because the speed of execution of the original yum module, shipped with ansible, is extremely slow, we have written a new module faster, which uses the same commands, you would use if you try to install a package manually.
This module is written is python, but the logic is inspired from the yum2 shell module.
We choose to call it yum
to be able to use the with_items
hacks.
It means, that when you use with_items
with the yum
module, instead of calling the module one time for each item, it will call it once, with all the items as one argument.
It supports most of the options supported by the original yum module,
however the list
option is not supported.
In your role's meta, add a dependency to this role using the syntax described below.
# my_role/meta/main.yml
dependencies:
- role: aeriscloud.yum