Re: [ansible-project] Windows integration

2015-08-14 Thread J Hawkesworth
I think you may need to change this setting in your ansible.cfg file to get the callback to take effect when using ansible http://docs.ansible.com/ansible/intro_configuration.html#bin-ansible-callbacks On Sunday, August 9, 2015 at 9:19:52 PM UTC+1, stephane jean wrote: > > oops thanks it's now w

Re: [ansible-project] Windows integration

2015-08-10 Thread Brian Coca
ansible-doc -l => lists all modules in your ansible installation On Sun, Aug 9, 2015 at 4:19 PM, stephane jean wrote: > oops thanks it's now working with 'ansible-playbook ...', but not with > 'ansible...' i tried with > > env ANSIBLE_LOAD_CALLBACK_PLUGINS=1 ansible windows -m win_ping > or > ANS

Re: [ansible-project] Windows integration

2015-08-09 Thread stephane jean
oops thanks it's now working with 'ansible-playbook ...', but not with 'ansible...' i tried with env ANSIBLE_LOAD_CALLBACK_PLUGINS=1 ansible windows -m win_ping or ANSIBLE_LOAD_CALLBACK_PLUGINS=1 ansible windows -m win_ping and i still get the error 192.168.0.37 | FAILED => 500 WinRMTransport

Re: [ansible-project] Windows integration

2015-08-08 Thread Chris Church
Try callback_plugins (with an underscore) instead of callback-plugins. On Sat, Aug 8, 2015 at 3:00 PM, stephane jean wrote: > Yes i am running python 2.7.9+ , i did create a folder callback_plugin > with fix.ssl in my playbooks directory but i have the same error: > > > > 3[root@Debian]:ansible

Re: [ansible-project] Windows integration

2015-08-08 Thread stephane jean
Yes i am running python 2.7.9+ , i did create a folder callback_plugin with fix.ssl in my playbooks directory but i have the same error: 3[root@Debian]:ansible-playbook /etc/ansible/playbooks/run-powershell.yml PLAY [Run powershell script] **

Re: [ansible-project] Windows integration

2015-08-07 Thread Chris Church
It looks like you're running into this issue: https://github.com/ansible/ansible/issues/10294 I'm guessing you are running Python 2.7.9+. The current workaround is using a callback plugin to disable SSL verification; we'll hopefully have a better fix by v2. On Fri, Aug 7, 2015 at 8:31 AM, stepha

[ansible-project] Windows integration

2015-08-07 Thread stephane jean
In my company i have a set of CentOS, MAC and Windows machines, i want to use Ansible mainly to deploy packages and scripts (bash, powershell). I've been trying to make it work for my windows machines, i have used the powershell scripts from ansible.com to enable winrm. But when i test the conne

[ansible-project] windows integration

2015-08-07 Thread stephane jean
i get this error when i try to use ansible on my windows machines: (i have used the powershell script from ansible.com with no errors) TASK: [Run powershell script] * fatal: [192.168.0.37] => 500 WinRMTransport. [SSL: CERTIFICATE_VERIFY_FAILED] c