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...
On Tuesday, May 3, 2016 at 10:44:52 PM UTC-4, Matt Martz wrote: > > It may be related to https://github.com/ansible/ansible/issues/15211 > > On Tuesday, May 3, 2016, Larry Smith <[email protected] <javascript:>> > wrote: > >> 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! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/59c3e4c0-f216-42cd-89b2-22696fb1c903%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/59c3e4c0-f216-42cd-89b2-22696fb1c903%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Matt Martz > @sivel > sivel.net > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0319ce60-ef9d-42f3-897b-38350dc7f0af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
