Instead of using [yum](https://docs.ansible.com/ansible/latest/yum_module.html) for package installation, instead use the new [package module](https://docs.ansible.com/ansible/latest/package_module.html).
Instead of using yum for package installation, instead use the new package module.