Good point on the disparity (and despite generally working pretty well
for a big case statement,
service will occasionally give confusing errors when it guesses wrong).

Would it make sense to migrate to splitting out each service subtype
into its own module?
I might be being a bit optimistic but it'd allow a phased deprecation
- there are no existing modules
called 'upstart', 'init' etc so that should be straightforward (right?).

On 8 June 2015 at 00:00, Michael Johnson <[email protected]> wrote:
> Got it, this makes perfect sense.  Always nice to have the background on
> inconsistencies like this (for me a least it removed a mental block).  With
> this background coupled with the notion of using 'action', perhaps 'service'
> could be deprecated and eventually removed in favor of different modules.
>
> On Sunday, June 7, 2015 at 2:25:22 PM UTC-7, Brian Coca wrote:
>>
>> Yes, it is a contradiction, sadly it is very hard to remove 'service'
>> now, it is a huge pathway of detection and fallbacks and I would be
>> very happy to create a systemd, upstart, initd and other modules to
>> substitute it.
>>
>> You just have to look at the tickets to see that every time we do a
>> minor modification to service it has many unintended consequences, it
>> is fragile, hard to read and very hard to debug. That and other
>> reasons made me keep I kept the svc/daemontools module separate.
>>
>>
>> --
>> 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/0f620dac-ea10-4af5-921b-c0edba118acf%40googlegroups.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/CAK5eLPT37rY9LGP6-Vr6Ht57RawFbv%3D204un%2BZ-UREgo7znA8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to