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.reviewable/pr18780/r1
parent
a81944e32b
commit
64374ed7f2
Loading…
Reference in New Issue