Hey,

I want connect Ansible with my host Windows but i don't understand why it's 
not works.

I have groupe in */etc/ansible/hosts :*

*[windows]*
*101.5.213.11 ansible_connection=ssh ansible_shell_type=powershell*

I have one *playbook.yml :*

*- name: "Installation de script SQL"*
*  hosts: "windows"*
*  gather_facts: no*
*  roles:*
*    - role: "roles"*

*  tasks:*

*    - name: "Executer le script powershell"*
*      script: "files/script1.ps1"*

But same the simple ping it's not works why ?

I look the documentation Ansible for windows but it not works :/

Thanks for your help !! :)

Regards,

-- 
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/edb5611b-712c-4a21-a250-2961e1121365%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to