Hi Deepak, Use below variables and also the check the ansible is using correct python and enable the ports in windows hosts. ansible_connection: winrm ansible_port: 5985 ansible_winrm_scheme: http ansible_winrm_server_cert_validation: ignore ansible_winrm_transport: ntlm
Thanks, Shashi On Thu, 24 Dec 2020 at 12:01, Deepak Gowda <[email protected]> wrote: > Hi Shashi, > > The issue is not resolved yet,I am thinking to use kerbores since i have > AD.Can you please help me. > > Thanks > Deepak > > On Thu, Dec 10, 2020 at 9:38 AM Shashikumar V <[email protected]> wrote: > >> Hi Deepak, >> >> Is the issue resolved ? . Are you able to connect to windows hosts from >> ansible ?. If not i can help you . >> >> Thanks, >> Shashi >> >> On Tue, 8 Dec 2020 at 16:18, Ankit Vashistha <[email protected]> >> wrote: >> >>> 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 >>> <https://groups.google.com/d/msgid/ansible-project/CACecUhvNMDN4pgYoC0DxMBwt%3D0wSc%2Bt5tnXwutccbSPUE-x%3Drw%40mail.gmail.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/CABeRUEPT7TVtQrQPnOhwvynmKx2-WGqqK3T8ai4WdHbpwU34PQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/ansible-project/CABeRUEPT7TVtQrQPnOhwvynmKx2-WGqqK3T8ai4WdHbpwU34PQ%40mail.gmail.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/CAMgb9d-qEWO4SZM4dZkkpFqK2PWqT-LsE1AT7kpcXO8h_EiWWA%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAMgb9d-qEWO4SZM4dZkkpFqK2PWqT-LsE1AT7kpcXO8h_EiWWA%40mail.gmail.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/CABeRUEPa-FMMWhV%2BQQnqYWY3aNjQqW1Jfj5By_ZvvQEFBZUbXA%40mail.gmail.com.
