Sending ad-hoc command to background

10 views
Skip to first unread message

Marc Becker

unread,
Jun 19, 2016, 8:15:46 PM6/19/16
to Ansible Project
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).
Reply all
Reply to author
Forward
0 new messages