Re: [ansible-project] Ansible issue with Windows and Chocolatey 0.10.13

2019-04-11 Thread Guillaume Belrose
Hi Jordan, I’ve just tried the approach that you suggested and it worked for me. Thanks for the tip. Guillaume. > On 09 Apr 2019, at 01:42, Jordan Borean wrote: > > Not something I've tested but if you are installing it from the public repo > and not some internal repository you might be

Re: [ansible-project] Re: Ansible issue with Windows and Chocolatey 0.10.13

2019-03-25 Thread Guillaume Belrose
Hi, Thanks for the link, I wonder why I did not find it the 1st time around. I was initially using Ansible 2.4.x and the error message was very obscure, so the issue became more obvious when I tried Ansible 2.7.x. Thanks for your help. Guillaume. Sent from my iPhone > On 25 Mar 2019, at 2

[ansible-project] Ansible issue with Windows and Chocolatey 0.10.13

2019-03-25 Thread Guillaume Belrose
Hi all, I use Ansible to deploy Chocolatey packages on Windows Server 2016 machines (hosted on Amazon EC2). Yesterday, I re-created a brand new cluster for training purposes and I attempted to re-deploy my applications on it from scratch. I've done this process countless times but yesterday i

[ansible-project] Re: Checking HTTP status codes with win_uri and Ansible 2.4.0.0

2017-09-29 Thread Guillaume Belrose
Hi, With --- - hosts: windows_servers tasks: - name: the win_uri module should correctly check the status code of the response win_uri: url: http://httpbin.org/post method: GET use_basic_parsing: false status_code: 405 I get a fatal: [54.77.135.172]: FAILED! => {

[ansible-project] Checking HTTP status codes with win_uri and Ansible 2.4.0.0

2017-09-28 Thread Guillaume Belrose
HI all, I am running Ansible 2.4.0.0 (on Ubuntu 16.04) and I am talking to Windows hosts via WinRM. I am using the win_uri module which can check the status code of the HTTP response, but I can't get it to work correctly. For example, if I have a playbook like this: --- - hosts: windows_se

[ansible-project] Behaviour of the Ansible yum module with enablerepo and disablerepo

2015-10-15 Thread Guillaume Belrose
Hi all, I am using Ansible 1.9.2 on CentOS 6.7. I am designing a system which can deploy software onto machines when those machines don't have access to the Internet. I basically have an Ansible controller node with cached RPMs and a web server. On each target node, I have defined a .repo file