# Error using async options when the file module is used in Ansible 2.1

**URL:** <https://forum.ansible.com/t/error-using-async-options-when-the-file-module-is-used-in-ansible-2-1/21991>\
**Category:** Ansible Project\
**Created:** [July 11, 2016, 11:04pm UTC](https://forum.ansible.com/t/error-using-async-options-when-the-file-module-is-used-in-ansible-2-1/21991 "2016-07-11T23:04:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfredo\_M](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alfredo\_M](https://forum.ansible.com/u/Alfredo_M)\
**Post date:** [July 11, 2016, 11:04pm UTC](https://forum.ansible.com/t/error-using-async-options-when-the-file-module-is-used-in-ansible-2-1/21991/1 "2016-07-11T23:04:10Z")

</div>

Hi all,

I’m trying to run my old playbooks (they work on Ansible 1.9) that have some async tasks in Ansible 2.1. The resources involved in the issue are in [http://pastie.org/private/o5obpof0vcmtukefprzeq](http://pastie.org/private/o5obpof0vcmtukefprzeq)

If I run the playbook “playtest.yml” with Ansible 1.9 it works fine, but it doesn’t work in the case of Ansible 2.1 throwing the error shown in the pastie.

What am I doing wrong?, can it be a bug?

Thanks,
