# error repo enablement

**URL:** <https://forum.ansible.com/t/error-repo-enablement/30139>\
**Category:** Ansible Project\
**Created:** [April 17, 2019, 11:07pm UTC](https://forum.ansible.com/t/error-repo-enablement/30139 "2019-04-17T23:07:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AQ1](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@AQ1](https://forum.ansible.com/u/AQ1)\
**Post date:** [April 17, 2019, 11:07pm UTC](https://forum.ansible.com/t/error-repo-enablement/30139/1 "2019-04-17T23:07:42Z")

</div>

[test@ip-172-31-1-143 ~]$ ansible webservers -m yum -a ‘name=[https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm](https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm) enablerepo=“amzn2-core-debuginfo/2/x86\_64”’ -u test --become --ask-become-pass  
SUDO password:  
172.31.13.61 | FAILED! =\> {  
“changed”: false,  
“failed”: true,  
“msg”: “Error setting/accessing repos: Error getting repository data for amzn2-core-debuginfo/2/x86\_64, repository not found”

---

<div class="post-metadata">

**Author:** ![Jonathan\_Lozada\_De\_L](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jonathan\_Lozada\_De\_L](https://forum.ansible.com/u/Jonathan_Lozada_De_L)\
**Post date:** [April 17, 2019, 11:50pm UTC](https://forum.ansible.com/t/error-repo-enablement/30139/2 "2019-04-17T23:50:55Z")

</div>

looks like that repo you are trying to enable is not there at all ?
