diff --git a/lib/ansible/modules/system/sysvinit.py b/lib/ansible/modules/system/sysvinit.py index c3a3932c35f..07a8c6fc89c 100644 --- a/lib/ansible/modules/system/sysvinit.py +++ b/lib/ansible/modules/system/sysvinit.py @@ -267,7 +267,7 @@ def main(): # Perform enable/disable here if enabled: if location.get('update-rc.d'): - (rc, out, err) = module.run_command("%s %s enable" % (location['update-rc.d'], name)) + (rc, out, err) = module.run_command("%s %s defaults" % (location['update-rc.d'], name)) elif location.get('chkconfig'): (rc, out, err) = module.run_command("%s %s on" % (location['chkconfig'], name)) else: