# Ansible parallel execution over winrm

**URL:** <https://forum.ansible.com/t/ansible-parallel-execution-over-winrm/32352>\
**Category:** Ansible Project\
**Created:** [February 28, 2020, 1:44pm UTC](https://forum.ansible.com/t/ansible-parallel-execution-over-winrm/32352 "2020-02-28T13:44:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Garner](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@Peter\_Garner](https://forum.ansible.com/u/Peter_Garner)\
**Post date:** [February 28, 2020, 1:44pm UTC](https://forum.ansible.com/t/ansible-parallel-execution-over-winrm/32352/1 "2020-02-28T13:44:51Z")

</div>

I notice there is a config option to enable ansible to run in parallel (host\_key\_checking = False) however, this strikes me as an ssh option. I’m running playbooks over winrm and would like to know if there is a similar option here.  
thanks!

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [February 29, 2020, 12:17am UTC](https://forum.ansible.com/t/ansible-parallel-execution-over-winrm/32352/2 "2020-02-29T00:17:57Z")

</div>

host\_key\_checking has nothing to do with parallel runs so I’m not sure what you mean by that. By default Ansible will run on hosts in parallel up to the forks configured [1]. If you want to run multiple tasks at the same time the only real option is to use async with poll: 0 [2] so it runs in the background and Ansible continues onto the next task. This does have limitations and it makes it difficult to track the status or even the success of each task you run in async.

[1] - [https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_strategies.html#setting-the-number-of-forks](https://docs.ansible.com/ansible/latest/user_guide/playbooks_strategies.html#setting-the-number-of-forks)  
[2] - [https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_async.html#concurrent-tasks-poll-0](https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html#concurrent-tasks-poll-0)
