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/59b29f3f-c56c-4232-b481-f574d40d5da7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to