mirror of https://github.com/ansible/ansible.git
Fix service module for issue 755 and another bug
Allow use of service module with just enable parameter, per issue #755. Also fixed two other issues: - fixed parameter to be 'enabled' per docs, not 'enable'. - fixed if block that checks whether to run _do_enable() to check whether the parameter is set, not the value of the enable value which may be None or False. If enabled=no, the service would never be disabled.pull/756/head
parent
2d9ceafbd4
commit
42ad1c879f
Loading…
Reference in New Issue