On Thu, Oct 09, 2014 at 10:58:34PM +0200, Antoine Jacoutot wrote:
> > The module wants to figure out if it should reset the flags in
> > rc.conf.local to the default set if no arguments are supplied by the 
> > user.
> 
> Can you provide an example. Because if not arguments are supplied, according 
> to your previous mail, it should run like:
> rcctl enable foobar flags
> which will reset the flags anyway.
> 
> > The problem with this is that there is no way to find out what the 
> > default flags are. This makes it hard to deal with a service like nfsd
> 
> But why do you need that exactly?
> Note that I am not against modifying rcctl, I am just trying to understand 
> the need...
> 

Sorry, I should probably have been more clear on the reason I need it :).

The main issue from the ansible perspective is to know if we are _going_
to change something or not. The user may for example run ansible in
--check mode where it should only report if it is about to change
something or not.

Even when not running in --check mode the module needs to report if
something was changed or not.

Regards,
Patrik Lundin

Reply via email to