I want to start the background process in Ansible.

Asked 2 years ago, Updated 2 years ago, 147 views

1 Answers

Thank you for your reply.
Now that it's self-resolved, I'll write it down.

Here, writing bash in full path as shown below worked as expected.

Before Changes

shell:bash-lc"/home/vagrant/.pyenv/versions/3.6.0/envs/envs/myproject/bin/uwsi --ini/home/myproject/uwsi.ini&"

Modified

shell:/bin/bash-lc"/home/vagrant/.pyenv/versions/3.6.0/envs/envs/myproject/bin/uwsgi --ini/home/myproject/uwsgi.ini&"


2022-09-30 21:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.