# win\_ping.yml

**URL:** <https://forum.ansible.com/t/win-ping-yml/37022>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [August 23, 2022, 9:43am UTC](https://forum.ansible.com/t/win-ping-yml/37022 "2022-08-23T09:43:49Z")\
**Posts on this page:** 2\
**Page:** 3

<div class="post-metadata">

**Author:** ![Nicholas\_Branson](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@Nicholas\_Branson](https://forum.ansible.com/u/Nicholas_Branson)\
**Post date:** [September 2, 2022, 4:45pm UTC](https://forum.ansible.com/t/win-ping-yml/37022/41 "2022-09-02T16:45:44Z")

</div>

VERY HAPPY !

win\_ping.yml now works successfully. So WinRM must be configured correctly. Thew !

We were putting variables into the Windows Inventory Variables section. But we now have a main.yml file.

Also thanks to Wei-Yen Tan  
for suggesting we use kerberos and FQDN on the account [ansible@mummy.loves.me.com](mailto:ansible@mummy.loves.me.com) !

main.yml file

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [September 3, 2022, 12:20am UTC](https://forum.ansible.com/t/win-ping-yml/37022/42 "2022-09-03T00:20:09Z")

</div>

If you are using tower why not use machine credentials instead of putting it in the playbook?

[Previous page](https://forum.ansible.com/t/win-ping-yml/37022.md?page=2)
