# Yum packages being skipped using Ansible 2.0.2.0

**URL:** <https://forum.ansible.com/t/yum-packages-being-skipped-using-ansible-2-0-2-0/21348>\
**Category:** Ansible Project\
**Tags:** fedora\
**Created:** [May 4, 2016, 2:22am UTC](https://forum.ansible.com/t/yum-packages-being-skipped-using-ansible-2-0-2-0/21348 "2016-05-04T02:22:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Larry\_Smith1](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@Larry\_Smith1](https://forum.ansible.com/u/Larry_Smith1)\
**Post date:** [May 4, 2016, 2:22am UTC](https://forum.ansible.com/t/yum-packages-being-skipped-using-ansible-2-0-2-0/21348/1 "2016-05-04T02:22:15Z")

</div>

So I am seeing something rather strange when using Ansible 2.0.2.0…If I execute a play with the following tasks the second one is skipped. However if I run the same play using Ansible 2.0.1.0 it runs as expected. Anyone else experienced anything similar? Thoughts?

> - name: installing epel repo (RedHat)  
> yum:  
> name: “epel-release”  
> state: present  
> when: \>  
> ansible\_os\_family == “RedHat” and  
> ansible\_distribution != “Fedora”
> - name: installing ansible pre-reqs (RedHat)  
> yum:  
> name: “{{ item }}”  
> state: present  
> with\_items:
> - libffi-devel
> - openssl-devel
> - python-crypto
> - python-devel
> - python-setuptools  
> when: \>  
> ansible\_os\_family == “RedHat” and  
> ansible\_distribution != “Fedora”

When using Ansible 2.0.2.0

> TASK [installing epel repo (RedHat)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> 
> ok: [node0]
> 
> TASK [installing ansible pre-reqs (RedHat)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> 
> skipping: [node0] =\> (item=[u’libffi-devel’, u’openssl-devel’, u’python-crypto’, u’python-devel’, u’python-setuptools’])

When using Ansible 2.0.1.0

> TASK [installing epel repo (RedHat)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> ok: [node0]  
> TASK [installing ansible pre-reqs (RedHat)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> ok: [node0] =\> (item=[u’libffi-devel’, u’openssl-devel’, u’python-crypto’, u’python-devel’, u’python-setuptools’])

Thanks!

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [May 4, 2016, 2:44am UTC](https://forum.ansible.com/t/yum-packages-being-skipped-using-ansible-2-0-2-0/21348/2 "2016-05-04T02:44:47Z")

</div>

It may be related to [https://github.com/ansible/ansible/issues/15211](https://github.com/ansible/ansible/issues/15211)

---

<div class="post-metadata">

**Author:** ![Larry\_Smith1](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@Larry\_Smith1](https://forum.ansible.com/u/Larry_Smith1)\
**Post date:** [May 4, 2016, 2:49am UTC](https://forum.ansible.com/t/yum-packages-being-skipped-using-ansible-2-0-2-0/21348/3 "2016-05-04T02:49:13Z")

</div>

You are absolutely correct. Thanks for that. I was just heading over there to check for similar bugs as well…Will contribute to that issue as seeing it as well…
