# yum module not able to find package

**URL:** <https://forum.ansible.com/t/yum-module-not-able-to-find-package/11640>\
**Category:** Ansible Project\
**Created:** [July 2, 2012, 11:18pm UTC](https://forum.ansible.com/t/yum-module-not-able-to-find-package/11640 "2012-07-02T23:18:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wes\_Johnson](https://avatars.discourse-cdn.com/v4/letter/w/91b2a8/32.png) [@Wes\_Johnson](https://forum.ansible.com/u/Wes_Johnson)\
**Post date:** [July 2, 2012, 11:18pm UTC](https://forum.ansible.com/t/yum-module-not-able-to-find-package/11640/1 "2012-07-02T23:18:51Z")

</div>

I’m running into an issue with ansible-playbook/yum module where the yum module isn’t able to find a package that I can find manually. This issue ‘goes away’ if I install the package manually. Has anyone experienced this behavior, or has any suggestions as to why my setup fails?

[wes@mgmt001 ~]$ ssh [root@host.domain](mailto:root@host.domain) yum clean all  
Loaded plugins: fastestmirror  
Cleaning up Everything  
Cleaning up list of fastest mirrors

[wes@mgmt001 ~]$ ssh [root@host.domain](mailto:root@host.domain) yum list epel-release  
Loaded plugins: fastestmirror  
Loading mirror speeds from cached hostfile  
Available Packages  
epel-release.noarch 5-4 private-repository

[wes@mgmt001 ~]$ ansible-playbook -i /tmp/all\_hosts\_badtz -f 30 ~/ansible/playbooks/company/company.yml

TASK: [yum: install epel-release] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

failed: [host.domain] =\> {“changed”: false, “failed”: true, “msg”: “No Package matching ‘epel-release’ found available, installed or updated”}

From playbook:

- name: “yum: install epel-release” action: yum pkg=epel-release state=latest
