ansible/ansible — pull request #250 by jkleint (2012-04-26 13:56:40+00:00)
Title: Service module crashes if args has no "=".

A quick look reveals many modules share the same issue. I'm not sure if the modules are/were autogenerated (or maybe cut-n-paste generated ;), but they seem to contain a lot of duplicated code and code outside of any function.

Are there plans to make a "module" module (in the Python sense) to centralize things like parsing arguments, running commands, and returning statuses?