Brian You are missing the point. If i run a command on the server and it decides to become a background process then when i run that same command via ansible the outcome should be the same. I should not have to code around the issue because ansible spawns and kills process groups.
I expect ansible to be a like for like replacement of me running the commands direct on the server. Otherwise i have to compromise and rewrite the delivery of a service that has been working for years. I understand where you are coming from, but when you are dealing with an imperfect world where people say but i can do it this way, it makes ansible a hard sell if it is hard to use. Regards Nicholas Irving On 28 Apr 2015 2:22 am, "Brian Coca" <[email protected]> wrote: > i would not start a service in a 'non service fashion' if you don't > want to write an init script you should use at least something like > monit/daemontools/runit/supervisorctl to manage the service. > > Otherwise you will find yourself manually trying to figure out 'is it > running?' 'is there more than 1 running?' 'can i stop it?' etc... > > -- > Brian Coca > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DfXTrJzM-4g2CcoHOQtasQ9sOJ_4Dupp3gMjwF1v%3DSfg%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMqs2CZpmx998ck_VV81yAp4of1y-Qfhiafr_96-rmg1DcFJ9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
