diff --git a/lib/ansible/modules/system/service.py b/lib/ansible/modules/system/service.py index 75f2117f90a..ca7b2bad9e4 100644 --- a/lib/ansible/modules/system/service.py +++ b/lib/ansible/modules/system/service.py @@ -1043,7 +1043,7 @@ class OpenBsdService(Service): if self.enable: action = "enable %s" % (self.name) - if self.arguments or self.arguments != current_flags: + if self.arguments or current_flags: action = action + " flags %s" % (self.arguments) if rc == 0 and self.arguments == current_flags: return