ansible/ansible — pull request #2571 by Tinche (2013-04-04 19:07:58+00:00)
Title: Service module changed to terminate early if only enabled specified

The other day I noticed the service module behaving strangely if I only specified enabled=yes and left out the state argument (it would enable the service but error out the first run).

Here's my attempt at cleaning up this code path a little. Please review.
Tested on CentOS 6.3