diff --git a/plugins/modules/logrotate.py b/plugins/modules/logrotate.py index 43236bcfac..97a9994858 100644 --- a/plugins/modules/logrotate.py +++ b/plugins/modules/logrotate.py @@ -859,6 +859,7 @@ class LogrotateConfig: self.result["enabled_state"] = target_enabled return self.result + def main() -> None: """Main function.""" module = AnsibleModule(