# conflicting action statements: shell, async

**URL:** <https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213>\
**Category:** Ansible Project\
**Created:** [April 29, 2019, 1:50pm UTC](https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213 "2019-04-29T13:50:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grimlinzz](https://avatars.discourse-cdn.com/v4/letter/g/b3f665/32.png) [@grimlinzz](https://forum.ansible.com/u/grimlinzz)\
**Post date:** [April 29, 2019, 1:50pm UTC](https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213/1 "2019-04-29T13:50:00Z")

</div>

Hello, i installed ansible 2.7.10 with pip.

Extract from the playbook :

`

`

- name: stop the host  
shell: sleep 2 && shutdown -h now “Ansible updates triggered”  
async: 1  
poll: 0  
ignore\_errors: true

`

`

when i run :

`

ansible-playbook playbook.yml --syntax-check

`

I have this error :

ERROR! conflicting action statements: shell, async

I find this issue in ansible github repository : [https://github.com/ansible/ansible/issues/51431](https://github.com/ansible/ansible/issues/51431).

But i don’t understand what he means when he says “the search path that ansible uses to find modules”.

Thanks for you help. 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [May 2, 2019, 3:41pm UTC](https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213/2 "2019-05-02T15:41:42Z")

</div>

This should show 'configured paths' for searching for a module  
`ansible -m debug -a 'msg={{ lookup("config", "DEFAULT\_MODULE\_PATH")  
}}' localhhost`, to this you need to add any library/ directories in  
your roles or adjacent to your playbooks.
