Hi there, 

I'm trying to do something with ansible that sounds easy/common enough. 
Somewhere in my playbook, after setting up my reverse proxies, static 
directories, and mysql, I'd like to kick off my node.js app. The typical 
way I would do this manually is by running:

npm start &

"npm start" runs server.js, which starts my server. The ampersand runs 
everything in the background. 

However, it appears that the "&" doesn't work for ansible. The playbook 
pauses at this point and never returns. How do I run a blocking script with 
ansible? 


Thanks,
Jacob

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to