> The problem occurs when I try to manage a service like nfsd which has a > default set of flags. Consider the following commands, which basically > performs what ansible does when the user is not supplying any extra > arguments: > --- > # rcctl status nfsd > NO > # rcctl enable nfsd > > # rcctl status nfsd > -tun 4 > # > --- > > If I now run the tool again, still without any supplied arguments, it > will compare the empty set of user supplied flags to "-tun 4" which > always differs. So ansible will now think it needs to change something > "forever" :). > > To solve this I need the default flags to compare to the output of > 'status'.
Well in this case, I think you should pass the flags you want to ansible -- even if they are the same as the defaults. I'm not very keen on adding a new knob... -- Antoine
