I have seen other people attempting similar things, but what works for them
in their scenarios doesn't seem to work for me. I am sure it must be a
syntax issue. I have a similar when statement, but don't know how to
correctly reference my fact within the string as seen below (tried these
two, and various other iterations):
- name: Install Spacewalk Repos
yum:
name: "{{ item }}"
state: present
with_items:
- first-package-['ansible_distribution_major_version'].noarch.rpm
- second-package[ansible_distribution_major_version].noarch.rpm
--
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/9d7e67dd-19bb-453a-95a4-2f2f87286318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.