# winrm-install

**URL:** <https://forum.ansible.com/t/winrm-install/31100>\
**Category:** Ansible Project\
**Created:** [August 22, 2019, 12:51pm UTC](https://forum.ansible.com/t/winrm-install/31100 "2019-08-22T12:51:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [August 22, 2019, 12:51pm UTC](https://forum.ansible.com/t/winrm-install/31100/1 "2019-08-22T12:51:21Z")

</div>

Hi ,

What could be the reason for below error ? any idea ?

---

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [August 22, 2019, 12:54pm UTC](https://forum.ansible.com/t/winrm-install/31100/2 "2019-08-22T12:54:15Z")

</div>

Full error :

Using /etc/ansible/ansible.cfg as config file  
host\_list declined parsing /home/manish/mk/ansible/inventory.yml as it did not pass its verify\_file() method  
script declined parsing /home/manish/mk/ansible/inventory.yml as it did not pass its verify\_file() method  
Parsed /home/manish/mk/ansible/inventory.yml inventory source with ini plugin  
ERROR! ‘win\_chocolatey’ is not a valid attribute for a Play

The error appears to be in ‘/home/manish/mk/ansible/git.yml’: line 2, column 3, but may  
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:
