cant wait till MS ditches this winrm nonsense for ssh!

On Monday, February 6, 2017 at 6:05:09 AM UTC-8, pixel fairy wrote:
>
> seems ansible is not reading group_vars/windows.yml 
> tried renaming to group_vars/windows same result
>
> $ ansible --version
> ansible 2.2.1.0
>
> $ ansible windows --list-hosts
>   hosts (1):
>     ex-domain1
>
> $ cat group_vars/windows.yml 
> ansible_user: Administrator
> ansible_port: 5986
> ansible_connection: winrm
> ansible_winrm_server_cert_validation: ignore
>
>
> $ ansible windows -m debug -a msg="{{ansible_user}}"
> ex-domain1 | SUCCESS => {
>     "msg": "root"
> }
>
> $ cat ansible.cfg 
> [defaults]
> inventory = ./inventory
> remote_user = root
> roles_path = ./roles
>
>

-- 
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 email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/87791ef3-35ef-4254-a077-6c1082596efb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to