# Ansible 2.7 yum module issues

**URL:** <https://forum.ansible.com/t/ansible-2-7-yum-module-issues/28814>\
**Category:** Ansible Project\
**Created:** [October 17, 2018, 9:35pm UTC](https://forum.ansible.com/t/ansible-2-7-yum-module-issues/28814 "2018-10-17T21:35:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Bidwell](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Post date:** [October 17, 2018, 9:35pm UTC](https://forum.ansible.com/t/ansible-2-7-yum-module-issues/28814/1 "2018-10-17T21:35:48Z")

</div>

Anyone notice weirdness with ansible 2.7? I’m running 2.7.0 and the yum module doesn’t seem to be working as it’s supposed to. Previous ran ansible 2.6.x with success. Same module under 2.7.0:

fatal: [172.23.10.2]: FAILED! =\> {“changed”: false, “msg”: “Error from repoquery: [‘/usr/bin/repoquery’, ‘–show-duplicates’, ‘–plugins’, ‘–quiet’, ‘-c’, None, ‘–disablerepo’, ‘’, ‘–enablerepo’, ‘’, ‘–qf’, ‘%{epoch}:%{name}-%{version}-%{release}.%{arch}’, ‘glusterfs’]: Error accessing file for config file:///home/tsg/–disablerepo\nError accessing file for config file:///home/tsg/–disablerepo\n”}

I have no reference to file:///home/tsg/–disablerepo. I don’t know where it’s pulling this from.

---

<div class="post-metadata">

**Author:** ![tkuratom](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Post date:** [October 18, 2018, 1:32am UTC](https://forum.ansible.com/t/ansible-2-7-yum-module-issues/28814/2 "2018-10-18T01:32:40Z")

</div>

Are you able to grab the yum module from the stable-2. 7 bench to give it a try? There were a couple fixes to it after 2.7.0 and are merged for 2.7.1. i know at least one had to do with config files but i don’t recall the symptoms so i can’t be sure it’s the same thing.

[https://github.com/ansible/ansible/blob/stable-2.7/lib/ansible/modules/packaging/os/yum.py](https://github.com/ansible/ansible/blob/stable-2.7/lib/ansible/modules/packaging/os/yum.py)

-Toshio
