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_ 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