Re: [ansible-project] Module service: Controlling priorities/dependencies between services

2014-09-12 Thread Jacek
They do unless they work in the legacy mode (see: http://manpages.ubuntu.com/manpages/natty/man8/update-rc.d.8.html and look for .legacy-bootordering). As mentioned, in my case there are a few "legacy" services in the default Ubuntu Server 14.04 installation that make the system to work in the

Re: [ansible-project] Module service: Controlling priorities/dependencies between services

2014-09-12 Thread Michael DeHaan
"The trouble is that in my case there seem not to be any other way than stating priority manually during service installation (as in the given example)" The Linux/Unit init systems do allow you to specify service start preconditions as to which services need to be started first. Perhaps I didn't

Re: [ansible-project] Module service: Controlling priorities/dependencies between services

2014-09-12 Thread Jacek
Thanks Michael for suggestion. The trouble is that in my case there seem not to be any other way than stating priority manually during service installation (as in the given example). I think the quickest (dirty) approach is to run a command to install the script. Thanks anyway, Jacek W dn

Re: [ansible-project] Module service: Controlling priorities/dependencies between services

2014-09-12 Thread Michael DeHaan
This sounds like a Linux question about init systems rather than an Ansible question. I'd suggest asking about how to tailor your init script on a site like StackOverflow* or reading up on the documentation for upstart, SysV, or whatever you are using. These are usually pretty straightforward, bu

[ansible-project] Module service: Controlling priorities/dependencies between services

2014-09-12 Thread Jacek
Hi all, I wanted to start two services A, B while B depends on A (B should start only after A is started). I can't see a way in the current service module to force the priority of the installed service. Have you got any ideas how to attack the problem, preferably in a cross-platform (at least