Yep yep, in general most modules in ansible don't perform automatic remote file transfer.
"unarchive" is one module that does, and naturally "template" and "copy" do. But most require a reference to a local file. --Michael On Wed, Apr 23, 2014 at 9:59 PM, Jacob Seeley <[email protected]>wrote: > After some more testing, I've found the parameter conf_file works when the > file is on the server the playbook is being run against. > > > On Wednesday, April 23, 2014 8:47:59 PM UTC-4, Jacob Seeley wrote: >> >> Hello, >> >> I'm trying to use the conf_file parameter to the yum module and it does >> not appear to be working. My playbook is as follows: >> >> - name: Remove java >> yum: name=@java-platform conf_file=http://somehost/yum.confstate=absent >> >> What I would expect to happen is the yum module to grab a copy of >> yum.conf from the URL listed. However, the file is never retrieved. I can >> verify this through 1. the web logs of the server hosting yum.onf (no logs >> showing yum.conf being downloaded) and 2. The option I have set in yum.conf >> is not being applied when the above playbook is executed. >> >> Any idea why this isn't working? >> > -- > 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/cf64e51f-b465-419a-9c21-7d62eb4313a0%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/cf64e51f-b465-419a-9c21-7d62eb4313a0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgx-gxZF37QzV6EGMe%2B8kYoWQUmKZTkbtmG712Xz4Fziwg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
