trying to use win_get_url and win_msi together

72 views
Skip to first unread message

Aishwarya Muraleedharan

unread,
Apr 23, 2015, 5:09:04 PM4/23/15
to ansible...@googlegroups.com
Hi, I am trying to write a playbook to download a msi file from the internet to my local disk and then use "win_msi" to install the msi application to my Windows client.

Bu when ever I run my playbook, I get an error,

failed: [host2] => {"failed":true}
msg: Error downloading logserver.com/test.msi to C:\test.msi

FATAL: all hosts have already failed -- aborting

I also read in one of the blogs that win_get_url works only for urls that start with "http://..." . Is that why my playbook fails?

J Hawkesworth

unread,
Apr 24, 2015, 1:38:59 PM4/24/15
to ansible...@googlegroups.com
Can you show us your playbook? - it does sound like a syntax error.  You definitely need to specify an http url with win_get_url.

Jon
Reply all
Reply to author
Forward
0 new messages