Yes these are endpoint credential for user
On Thu, Sep 17, 2020, 9:07 PM PRAVEEN KATTULAPALLI <[email protected]> wrote: > I have one major doubt > Ansible_user: > Ansible_password: > > What does these two commands represent?. > > Do they represent windows credentials or the user credentials from which > you want to ping windows machine. > > On Thu 17 Sep, 2020, 8:57 PM Kundan Singh, <[email protected]> > wrote: > >> Hi >> >> Insted of root please mention administrator >> And it's password >> >> *windows:vars]* >> *ansible_user=adminstrator* >> >> *And check* >> >> On Thu, Sep 17, 2020, 8:12 PM PRAVEEN KATTULAPALLI < >> [email protected]> wrote: >> >>> yes, I did it from command line . i used this command >>> ansible all -i hosts -m win_ping. >>> >>> got the above error. >>> >>> On Thu, Sep 17, 2020 at 2:25 PM Mauricio Tavares <[email protected]> >>> wrote: >>> >>>> On Thu, Sep 17, 2020 at 10:23 AM PRAVEEN KATTULAPALLI >>>> <[email protected]> wrote: >>>> > >>>> > i got the below error when i am trying to ping windows machine >>>> > i have ran that configurepowershell.ps1 power script also and my >>>> winrm service is running successfully nut still facing same issue, please >>>> give me a solution for this. >>>> > >>>> > win2016 | UNREACHABLE! => { >>>> > "changed": false, >>>> > "msg": "basic: HTTPConnectionPool(host='win2016', port=5985): Max >>>> retries exceeded with url: /wsman (Caused by >>>> ConnectTimeoutError(<urllib3.connection.HTTPConnection object at >>>> 0x7f8b2e02ed90>, 'Connection to 52.168.175.51 timed out. (connect >>>> timeout=30)'))", >>>> > "unreachable": true >>>> > >>>> > I used the below details for connection in inventory: >>>> > [windows] >>>> > win2016 >>>> > >>>> > [windows:vars] >>>> > ansible_user=root >>>> > ansible_password=password >>>> > ansible_connection=winrm >>>> > ansible_port=5985 >>>> > ansible_winrm_transport=basic >>>> > ansible_ssh_port=5986 >>>> > ansible_winrm_server_cert_validation=ignore >>>> > >>>> Can you ping it from the command line? >>>> >>>> > -- >>>> > 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/2664c96f-09b2-415a-9858-3d7224045501n%40googlegroups.com >>>> . >>>> >>>> -- >>>> 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/CAHEKYV5Jb06GeE7UhUNsWUKE3gHmOfHEAo-dnqP9WUXqxZsX6g%40mail.gmail.com >>>> . >>>> >>> -- >>> 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/CAByHfFEJtM_t5h5LXumjMpMDBZHq7AHgJag6NfZdKy7QM6XAgw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/ansible-project/CAByHfFEJtM_t5h5LXumjMpMDBZHq7AHgJag6NfZdKy7QM6XAgw%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/CADGcVU0EocYhmy6ovCdJVh%3Dd07q3A3Si63ECFSiKShF8j2PTDg%40mail.gmail.com >> <https://groups.google.com/d/msgid/ansible-project/CADGcVU0EocYhmy6ovCdJVh%3Dd07q3A3Si63ECFSiKShF8j2PTDg%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/CAByHfFE4ZvoK7CYHyr8FBxhOMioJ%3DgYhwnM%3DvEbsM2g3yNVacQ%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAByHfFE4ZvoK7CYHyr8FBxhOMioJ%3DgYhwnM%3DvEbsM2g3yNVacQ%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/CADGcVU0N6PkaKjMKmmoVbvMU_cgONtDU7P8nSjt9LH2%3DP-EDrA%40mail.gmail.com.
