yes, that's still valid. Here's a valid and working hosts file:

[all]

[all:vars]
ansible_connection=winrm
ansible_port=5986
ansible_winrm_server_cert_validation=ignore
ansible_password=e6PHLue6PHLu
ansible_user=<password>

[windows]
windows1 ansible_host=192.168.99.100

If that's not working its likely an issue on the target server. Have you 
run the prepare-script?

On Saturday, January 28, 2017 at 3:00:03 PM UTC+1, norricorp wrote:
>
> I actually put the connection parameters in /etc/ansible/hosts under 
> [windows:vars].
> Is that still valid?
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2b031944-8d3e-4828-ad5a-bdc582a13187%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to