# Sending ad-hoc command to background

**URL:** <https://forum.ansible.com/t/sending-ad-hoc-command-to-background/21808>\
**Category:** Ansible Project\
**Created:** [June 18, 2016, 4:06pm UTC](https://forum.ansible.com/t/sending-ad-hoc-command-to-background/21808 "2016-06-18T16:06:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc\_Becker](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Marc\_Becker](https://forum.ansible.com/u/Marc_Becker)\
**Post date:** [June 18, 2016, 4:06pm UTC](https://forum.ansible.com/t/sending-ad-hoc-command-to-background/21808/1 "2016-06-18T16:06:38Z")

</div>

Hi,

I’ve bought the book Ansible DevOps and now I’m experimenting with vagrant and ansible.

In the book I found the following command:

`  
ansible multi -s -B 3600 -a “yum -y update”

`

As I understood, this should start the update task in background. Progress can be viewed in the ansible\_async folder. Also a job\_id should be mentionend. Nothing of these happens and no ansible\_async folder is anywhere.

So I put the argument -f 3 to force forking three processes but still no luck.At last I added -P 0 but still not better.

Can anybody tell me what I’m doing wrong?

Thanks in advance and kind regards,

Marc

P.S.: I’m using the latest ansible version (2.1.0.0).
