You need to use the following variables/extra vars for your playbook to connect to windows hosts ofcourse after the initial configuration on windows server to accept incoming connection is done.
*ansible_connection: winrmansible_winrm_message_encryption: autoansible_winrm_port: 5985ansible_winrm_transport: ntlm* *Regards,* *Ankit* On Tue, Dec 8, 2020 at 3:55 PM Deepak Gowda <[email protected]> wrote: > HI Shashi , > > Please let me know the steps to configure it. > > Thanks > Deepak > > On Monday, 7 December 2020 at 19:26:11 UTC+5:30 [email protected] wrote: > >> Hi Deepak, >> >> You can use ntlm method. >> >> On Mon, 7 Dec 2020, 5:09 pm Deepak Gowda, <[email protected]> wrote: >> >>> Hi All, >>> >>> How can i setup windows host to communicate with Ansible control node on >>> a production environment securely.Can i run the below script with >>> [switch]$DisableBasicAuth = $true >>> >>> >>> https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 >>> >>> I am trying to implement Ansible on my production environment with all >>> the security features in place.Cn anyone guide me with the steps. >>> >>> Thanks >>> Deepak >>> >>> -- >>> 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 view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/9660a526-145c-438e-9d55-8333bf26c3b6n%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/9660a526-145c-438e-9d55-8333bf26c3b6n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/98c613e4-2bbe-4f4d-9f27-014e41fe8c43n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/98c613e4-2bbe-4f4d-9f27-014e41fe8c43n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACecUhvNMDN4pgYoC0DxMBwt%3D0wSc%2Bt5tnXwutccbSPUE-x%3Drw%40mail.gmail.com.
