# There's no yumrepo extra module in the 2.0.0.2

**URL:** <https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488>\
**Category:** Ansible Project\
**Created:** [February 8, 2016, 4:02pm UTC](https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488 "2016-02-08T16:02:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexk4work](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@alexk4work](https://forum.ansible.com/u/alexk4work)\
**Post date:** [February 8, 2016, 4:02pm UTC](https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488/1 "2016-02-08T16:02:08Z")

</div>

Anybody knows why that? The module exists in the repo since November 2015…

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [February 8, 2016, 4:10pm UTC](https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488/2 "2016-02-08T16:10:04Z")

</div>

Yes, well known as it is part of the future 2.1. It was merged into  
devel after the 2.0 initial release went out.

---

<div class="post-metadata">

**Author:** ![David\_Karban](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@David\_Karban](https://forum.ansible.com/u/David_Karban)\
**Post date:** [February 8, 2016, 4:11pm UTC](https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488/3 "2016-02-08T16:11:24Z")

</div>

Hi, look into docs, will be in ansible 2.1.0.

David

Dne 8. 2. 2016 17:08 napsal uživatel \<[alexk4work@gmail.com](mailto:alexk4work@gmail.com)\>:

---

<div class="post-metadata">

**Author:** ![alexk4work](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@alexk4work](https://forum.ansible.com/u/alexk4work)\
**Post date:** [February 8, 2016, 4:35pm UTC](https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488/4 "2016-02-08T16:35:22Z")

</div>

Yeah, now I see that in the docs. Thanks for pointing out.

---

<div class="post-metadata">

**Author:** ![alexk4work](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@alexk4work](https://forum.ansible.com/u/alexk4work)\
**Post date:** [February 8, 2016, 4:39pm UTC](https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488/5 "2016-02-08T16:39:44Z")

</div>

The error is confusing though, hard to determine that the module just doesn’t exist:

> ERROR! no action detected in task  
> The error appears to have been in ‘…roles/epel/tasks/main.yml’: line 7, column 3, but may  
> be elsewhere in the file depending on the exact syntax problem.  
> The offending line appears to be:
> 
> - name: Set repo proxy  
> ^ here

for the task

`

- name: Set repo proxy  
yumrepo: name=epel enabled=true proxy=https://{{proxy}}  
`

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [February 8, 2016, 4:49pm UTC](https://forum.ansible.com/t/theres-no-yumrepo-extra-module-in-the-2-0-0-2/20488/6 "2016-02-08T16:49:03Z")

</div>

It is very hard to distinguish that it is a missing module as all the following look like the same error:

- No action was added to a task entry ( - name: and no module )
- The task is misspelled ( - phile: )
- The task is referencing a module that is not available: ( - idontexit: or=icannotfind/read )
- The task is missing the action name ( - local\_action: path=/var/tmp/test.txt )

It is even more ‘fun’ when the task action is dynamic:

- action:  
module: “{{varwithmodulename}}”

We welcome pull requests to make the message and or detection better, but I doubt that we can distinguish well between the cases above.
