Hey,

Ok, i will try this option winrc/psrp connection plugings :)

Thanks very much !! ;)

Regards,

Le lundi 20 mai 2019 12:07:34 UTC+2, Igor Turovsky a écrit :
>
> Do you really connect to your Windows hosts via SSH? While it is possible 
> with latest Windows, more common options are winrm/psrp connection plugins.
>
> Thank you,
> - Igor
>
> ------------------------------
> *From:* [email protected] <javascript:> <
> [email protected] <javascript:>> on behalf of Stefan Hornburg 
> (Racke) <[email protected] <javascript:>>
> *Sent:* Monday, May 20, 2019 12:54:49 PM
> *To:* [email protected] <javascript:>
> *Subject:* Re: [ansible-project] Connection Ansible with Windows host 
> problem 
>  
> On 5/20/19 11:40 AM, Ryad karkar wrote:
> > 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 ?
>
> Hard to tell without seeing the output of the playbook run (add verbosity 
> with -vv).
>
> Regards
>           Racke
>
> > 
> > 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] <javascript:> <
> mailto:[email protected] <javascript:>>.
> > To post to this group, send email to [email protected] 
> <javascript:> <mailto:[email protected] <javascript:>>.
> > To view this discussion on the web visit
> > 
> https://groups.google.com/d/msgid/ansible-project/edb5611b-712c-4a21-a250-2961e1121365%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/ansible-project/edb5611b-712c-4a21-a250-2961e1121365%40googlegroups.com?utm_medium=email&utm_source=footer
> >.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>
> -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/3d1aa3b1-11f3-165d-04c5-03827e44220f%40linuxia.de
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/8eaed80d-ec68-47b1-a657-fed155d52ef3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to