Greetings Johannes, I spotted that in the documentation and you are right. For deployment from a URL you have to use state=present.
Thanks for responding, Adam On Thursday, May 26, 2016 at 1:37:49 AM UTC-7, Johannes Kastl wrote: > > On 25.05.16 22:58 Adam Morris wrote: > > > - name: Install the appropriate EPEL package for RHEL/OEL > > package: > > name="https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ > > ansible_distribution_major_version }}.noarch.rpm" state=latest > > > Any ideas? > > What happens when you use state=present instead of latest? Latest > means it looks for newer version of the package, even if it is > installed. I think this could collide with installing from a url > (where no version info is available). > > Johannes > > -- 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/7c9b27bf-8eb6-4e7c-991e-a217fed8ee6c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
