On Thu, Oct 09, 2014 at 10:02:50PM +0200, Antoine Jacoutot wrote:
> > 
> > The later behaviour causes a problem when modifying special services
> > like pf. When disabling pf a "pf=NO" is added to rc.conf.local as
> > expected, but when trying to enable it again it will fail because the
> > ansible module notices that flags are currently set ("NO"), and tries to
> > call "rcctl enable pf flags" which fails: 
> 
> Why is ansible appending flags in the first place when no flags are 
> configured?
> 

An example would be if the user started out with supplying "-s" to ntpd
and then changes his mind and removes the flag. The idea is to then call
rcctl with an empty "flags" argument to get the default set of flags
instead.

It was my understanding from the man page that this was the approriate
way to do it, am I mistaken?

Regards,
Patrik Lundin

Reply via email to