Hello, i’m very new to ansible.
I have been trying to install software with chocolatey and am having no luck.
The very basic task I have is just
- win_chocolatey:
name: git
name: git
and throws this error
fatal: [x.x.x.x]: FAILED! => {
“changed”: false,
“choco_error_cmd”: “choco.exe install -dv -y git -timeout 2700”,
“choco_error_log”: null,
“failed”: true,
“msg”: “Error installing git”,
“rc”: -1
}
chocolatey has installed it’s self successfully and other win_url tasks have no problems. Any ideas?
ansible 2.4.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u’/home/pctadmin/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]