We have a task like
- name: install thing and dependencies
yum: name={{ item }} state=present
with_items:
- thing-"{{ thing_version }}"
- dep1
- dep2
- dep3
where thing_version is sometimes 1.0 (say), and sometimes something else.
This worked fine in Ansible 1.9.4, but in 2.1.1.0, it says
ok: [host-01] => (item=[u'thing-"1.0"', u'dep1', u'dep2', u'dep2'])
NO MORE HOSTS LEFT *************************************************************
Now, my guess is that the thing-"{{ thing_version }}" syntax is bogus, and
that's fine, we can fix that -- and in fact when we fix it, it works
fine... But we were surprised that the yum task said "ok" but then failed
the run. Is that in fact surprising? Should I make a ticket?
-Josh (jbs@care.com)
(apologies for the automatic corporate disclaimer that follows)
This email is intended for the person(s) to whom it is addressed and may contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, distribution, copying, or disclosure by any person other than the addressee(s) is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email and delete the message and any attachments from your system.