Are you sure this block works as expected? state has been setup above and is now resetted to disabled and only setup to enabled if the grep matches.

What about state = absent/present that used to be in state from the parameter?