You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
According to:
http://ansible.github.com/modules.html#service
state is not required, yet the code thinks it is.
Modify the service code so that state is not required.
Be careful to not make state have a default either. Sometimes you want to just enable a service without modifying its state
The text was updated successfully, but these errors were encountered: