mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 12:22:45 +00:00
Make note about enablement bit
This commit is contained in:
@@ -647,6 +647,8 @@ def main():
|
||||
|
||||
# Enable/disable service startup at boot if requested
|
||||
if service.module.params['enabled']:
|
||||
# FIXME: ideally this should detect if we need to toggle the enablement state, though
|
||||
# it's unlikely the changed handler would need to fire in this case so it's a minor thing.
|
||||
service.service_enable()
|
||||
|
||||
# Collect service status
|
||||
|
||||
Reference in New Issue
Block a user