# Error when trying to run win playbooks after ansible update to 2.10

**URL:** <https://forum.ansible.com/t/error-when-trying-to-run-win-playbooks-after-ansible-update-to-2-10/33934>\
**Category:** Ansible Project\
**Tags:** windows, ubuntu\
**Created:** [September 30, 2020, 9:58pm UTC](https://forum.ansible.com/t/error-when-trying-to-run-win-playbooks-after-ansible-update-to-2-10/33934 "2020-09-30T21:58:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurie\_Wilson](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Laurie\_Wilson](https://forum.ansible.com/u/Laurie_Wilson)\
**Post date:** [September 30, 2020, 9:58pm UTC](https://forum.ansible.com/t/error-when-trying-to-run-win-playbooks-after-ansible-update-to-2-10/33934/1 "2020-09-30T21:58:43Z")

</div>

We were using ansible 2.5 running on Ubuntu 18.04. I was able to upgrade to ansible 2.10 and run linux based playbooks. When I try to run playbooks for my Windows hosts I get the following error:

Invalid type for configuration option plugin\_type: connection plugin: winrm setting: remote\_password : Invalid type provided for “string”: 321321’

Can someone help me? I kinda new to ansible.

---

<div class="post-metadata">

**Author:** ![jcpetro](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Post date:** [October 1, 2020, 12:37pm UTC](https://forum.ansible.com/t/error-when-trying-to-run-win-playbooks-after-ansible-update-to-2-10/33934/2 "2020-10-01T12:37:55Z")

</div>

Do you know what version of python you are using? Quick search seems to point out that people switching to python3 may have had better results.

Here is where I found it:

[https://github.com/ansible-community/molecule-ec2/issues/13](https://github.com/ansible-community/molecule-ec2/issues/13)

which lead me here:

[https://github.com/ansible-community/molecule-ec2/pull/14/commits/3321771adda1a3eca2ff15a9412dbc113178881e](https://github.com/ansible-community/molecule-ec2/pull/14/commits/3321771adda1a3eca2ff15a9412dbc113178881e)

Hope this helps

–jp

---

<div class="post-metadata">

**Author:** ![Laurie\_Wilson](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Laurie\_Wilson](https://forum.ansible.com/u/Laurie_Wilson)\
**Post date:** [October 1, 2020, 3:23pm UTC](https://forum.ansible.com/t/error-when-trying-to-run-win-playbooks-after-ansible-update-to-2-10/33934/3 "2020-10-01T15:23:32Z")

</div>

HI JP

We are using Python2.7. I’ll try switching to Python3 and see how that goes.  
Thank you for your help.

---

<div class="post-metadata">

**Author:** ![Laurie\_Wilson](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Laurie\_Wilson](https://forum.ansible.com/u/Laurie_Wilson)\
**Post date:** [October 1, 2020, 9:12pm UTC](https://forum.ansible.com/t/error-when-trying-to-run-win-playbooks-after-ansible-update-to-2-10/33934/4 "2020-10-01T21:12:05Z")

</div>

Just tried using Python3 and I’m getting same error message.
