Re: [ansible-project] Re: Connecting to Windows host fails

2016-10-13 Thread JayB
What configuration does it need for PowerShell? -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this

Re: [ansible-project] Re: Connecting to Windows host fails

2016-10-13 Thread JayB
4:27:23 PM UTC+1, Aidan Gustard wrote: >> >> Try adding these into your group_vars/windows.yml file. >> >> ansible_connection: winrm >> ansible_ssh_port: 5986 >> ansible_winrm_transport: ssl >> validate_certs: false >> ansible_winrm_server_cert_

Re: [ansible-project] Re: Connecting to Windows host fails

2016-10-07 Thread JayB
Guys, can I get any help on this? -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send em

Re: [ansible-project] Re: Connecting to Windows host fails

2016-09-30 Thread JayB
> > Thanks Kai, I worked and moved forward a bit but got the below error. root@use-ansiblepoc:/etc/ansible# ansible windows -i hosts -m win_ping 10.20.10.179 | FAILED! => { "failed": true, "msg": "ssl: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certif

[ansible-project] Re: Re: ansible user module change passwd

2016-09-30 Thread JayB
It worked for me. It throws error if user doesn't exist. -- 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 ansible-project+unsubscr...@googlegroups.com. To post

[ansible-project] Re: ansible user module change passwd

2016-09-30 Thread JayB
Please try the below. It works. --- - hosts: localhost remote_user: root become: yes gather_facts: yes vars: user_name: youruser vars_prompt: - name: "new_password" prompt: "Enter New Password" private: yes encrypt: "md5_crypt" confirm: yes salt_siz

[ansible-project] Re: Connecting to Windows host fails

2016-09-30 Thread JayB
Hi Matt, I have followed the same but I'm still getting the same error. Please find the result below: root@use-ansiblepoc:/etc/ansible# pip install "requests>=2.10.0" Downloading/unpacking requests>=2.10.0 Downloading requests-2.11.1-py2.py3-none-any.whl (514kB): 514kB downloaded Installing co

[ansible-project] Connecting to Windows host fails

2016-09-29 Thread JayB
Hi Guys, I'm new to Ansible. I'm trying to connect to ansible windows host. I have configured for windows by following the link (http://darrylcauldwell.com/how-to-setup-an-ansible-test-lab-for-windows-managed-nodes-custom-windows-modules/). Now, I'm not able to ping the windows server and gett