Chrome runs on a different machine, and under a different user account, than the machine you're targeting with the playbook (I hope).
Try signing in to the target host and see if you can "sudo wget http://examle.net/filename.tar" Dick On 29 August 2017 at 11:48, <[email protected]> wrote: > I am using the below playbook > > - name: Downloading the file from URL > get_url: > url: "http://{{url_path_with_file_name}}" > dest: /tmp/ > > Command i used is > ansible-playbook -vvvv test.ymal --extra-vars > "url_path_with_file_name=examle.net/filename.tar" > > Error : > > "mode": "0750", > "msg": "Request failed: <urlopen error [Errno -2] Name or service not > known>", > "owner": "root", > "secontext": "unconfined_u:object_r:user_home_t:s0", > "size": 4096, > "state": "directory", > "uid": 0, > "url": "examle.net/filename.tar" > > But i am able to downlaod the same when i tried opening the file from chrome > > -- > 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/f981c2d3-b359-4770-8851-958dac181e95%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Dick Visser GÉANT Want to join us? We're hiring: https://www.geant.org/jobs -- 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/CAL8fbwO0N91WyvMNkYQ3g-YfYV7k7_yW09FwEq9L0eRGz_HJKQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
