I use the win_chocolatey module for as much as I can, installing git works 
great with it. win_package relies on installation packages that behave 
nicely, and they don't always do that..



On Friday, August 12, 2016 at 4:25:46 PM UTC+2, Tomas Pekarovic wrote:
>
> Hi, 
>
>  i'm using ansible 2.1.1.0 on ubuntu 16.04.
> Problem that I found is that I can't install any package using win_package 
> .
> I'm trying to install git on windows 7 host.
>
> playbook part:
>
>     - name: Installation of git x64
>
>       win_package:
>
>         name: GIT
>
>         path: "
> https://github.com/git-for-windows/git/releases/download/v2.9.2.windows.1/Git-2.9.2-64-bit.exe
> "
>
>         product_id: "Git_is1"
>
>         arguments: "/silent /GitAndUnixToolsOnPath"
>
>       when: ansible_architecture == "64-bit"
>
>
>
> task freezes for eternity in this:
>
> TASK [Installation of git x64] 
> *************************************************
>
> *task path: /home/user/devel.yml:14*
>
>
>
> I can't get any result from this.
>
> When I'm going on machine into temporary ansible folders. There is a 
> win_package.ps1 . When I start it, it runs and install and get results from 
> this. 
>
> So in my opinion there will be error somewhere in the communication with 
> the server??
>
>  
>
> other win_<command> tasks works fine (eg.  win_file)
>
>
> I also tried installation from local path (in path: 
> "c:\\install\\git.exe") but it is the same.
>
>
> Can somebody help me with this?
>
>
> Thanks in advance
>

-- 
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/82fd2b6b-c0e2-4d60-ad60-bee675aed926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to